In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 6:
export -n PI_HOOK_SPLICE=1
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 10:
local hook
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 12:
local v; eval "v=\${${hook}_splice:+\$${hook}_splice }$hook"
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 13:
export -n "${hook}=${v% }"
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 14:
export -n "${hook}_splice="
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 16:
export -n PI_HOOK_SPLICE=
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 20:
local hook="${1}_hook"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 21:
export -n "PI_STACK_LIST=${PI_STACK_LIST:+$PI_STACK_LIST }$hook"
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 22:
export -n "$hook="
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 26:
local hook="${1}_hook${PI_HOOK_SPLICE:+_splice}"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 27:
local func="${2}"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 30:
local v; eval "v=\$$hook"
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 31:
export -n "$hook=${v:+$v }$func"
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 36:
local hook="${1}_hook"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 37:
local rvar="${2}"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 39:
local v; eval "v=\$$hook"
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 41:
local first="${v%% *}"
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 43:
[ "$v" != "${v#* }" ] && \
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 44:
export -n "$hook=${v#* }" || \
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 45:
export -n "$hook="
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 47:
export -n "$rvar=$first"
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 55:
local hook="$1"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 56:
local func
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 59:
local ran; eval "ran=\$PI_RAN_$func"
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 61:
export -n "PI_RAN_$func=1"
^-- SC3045 (warning): In POSIX sh, export -n is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 68:
/bin/mount -o noatime,move /proc $1/proc && \
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,move /proc "$1"/proc && \
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 69:
pivot_root $1 $1$2 && {
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pivot_root "$1" "$1""$2" && {
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 70:
/bin/mount -o noatime,move $2/dev /dev
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,move "$2"/dev /dev
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 71:
/bin/mount -o noatime,move $2/tmp /tmp
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,move "$2"/tmp /tmp
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 72:
/bin/mount -o noatime,move $2/sys /sys 2>&-
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,move "$2"/sys /sys 2>&-
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 73:
/bin/mount -o noatime,move $2/overlay /overlay 2>&-
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,move "$2"/overlay /overlay 2>&-
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 79:
/bin/mount -o noatime,lowerdir=/,upperdir=$1,workdir=$2 -t overlay "overlayfs:$1" /mnt
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/bin/mount -o noatime,lowerdir=/,upperdir="$1",workdir="$2" -t overlay "overlayfs:$1" /mnt
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/preinit.sh line 80:
pivot /mnt $3
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pivot /mnt "$3"
For more information:
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC3045 -- In POSIX sh, export -n is undefin...
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...