<86>May 4 02:35:03 userdel[2567847]: delete user 'rooter' <86>May 4 02:35:03 userdel[2567847]: removed group 'rooter' owned by 'rooter' <86>May 4 02:35:03 userdel[2567847]: removed shadow group 'rooter' owned by 'rooter' <86>May 4 02:35:03 groupadd[2567859]: group added to /etc/group: name=rooter, GID=1356 <86>May 4 02:35:03 groupadd[2567859]: group added to /etc/gshadow: name=rooter <86>May 4 02:35:03 groupadd[2567859]: new group: name=rooter, GID=1356 <86>May 4 02:35:03 useradd[2567882]: new user: name=rooter, UID=1356, GID=1356, home=/root, shell=/bin/bash, from=none <86>May 4 02:35:03 userdel[2567904]: delete user 'builder' <86>May 4 02:35:03 userdel[2567904]: removed group 'builder' owned by 'builder' <86>May 4 02:35:03 userdel[2567904]: removed shadow group 'builder' owned by 'builder' <86>May 4 02:35:03 groupadd[2567954]: group added to /etc/group: name=builder, GID=1357 <86>May 4 02:35:03 groupadd[2567954]: group added to /etc/gshadow: name=builder <86>May 4 02:35:03 groupadd[2567954]: new group: name=builder, GID=1357 <86>May 4 02:35:03 useradd[2568015]: new user: name=builder, UID=1357, GID=1357, home=/usr/src, shell=/bin/bash, from=none <13>May 4 02:35:07 rpmi: shellcheck-0.9.0-alt1 sisyphus+318480.100.1.1 1681419880 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/make-initrd-bootchain-0.1.5-alt14.nosrc.rpm (w1.gzdio) Installing make-initrd-bootchain-0.1.5-alt14.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.79299 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf make-initrd-bootchain-0.1.5 + echo 'Source #0 (make-initrd-bootchain-0.1.5.tar):' Source #0 (make-initrd-bootchain-0.1.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/make-initrd-bootchain-0.1.5.tar + cd make-initrd-bootchain-0.1.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.79299 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/make-initrd-bootchain-buildroot + : + /bin/rm -rf -- /usr/src/tmp/make-initrd-bootchain-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd make-initrd-bootchain-0.1.5 + ./mix-altboot.sh + mkdir -p -- /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/make-initrd/features /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/doc + cp -aRf -- bootchain-altboot bootchain-cifs bootchain-core bootchain-doc bootchain-getimage bootchain-interactive bootchain-liverw bootchain-localdev bootchain-nfs bootchain-waitdev bootchain-waitnet /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/make-initrd/features/ + mv -f -- /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/make-initrd/features/bootchain-doc /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/doc/make-initrd-bootchain + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/make-initrd-bootchain-buildroot (auto) removed './usr/share/doc/make-initrd-bootchain/testing/.gitignore' removed './usr/share/doc/make-initrd-bootchain/.gitignore' Verifying and fixing files in /usr/src/tmp/make-initrd-bootchain-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/make-initrd-bootchain-buildroot/ (default) Compressing files in /usr/src/tmp/make-initrd-bootchain-buildroot (auto) Adjusting library links in /usr/src/tmp/make-initrd-bootchain-buildroot ./usr/share/doc/make-initrd-bootchain/altboot-mixed/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-waitnet/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-waitdev/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-nfs/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-localdev/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-liverw/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-interactive/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-getimage/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-core/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-cifs/data/lib: (from :0) ./usr/share/make-initrd/features/bootchain-altboot/data/lib: (from :0) Verifying ELF objects in /usr/src/tmp/make-initrd-bootchain-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.2374 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd make-initrd-bootchain-0.1.5 + ./check-scripts.sh --verbose *** Checking to SC1003... *** Checking to SC1090... In bootchain-altboot/data/bin/altboot-sh-functions line 17: . "$altboot_parsed" ^---------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. In bootchain-altboot/data/bin/altboot-sh-functions line 195: . "${_src}" ^-------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. For more information: https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const... In bootchain-core/data/sbin/chaind line 182: . "$BC_NEXTCHAIN" ^-------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. For more information: https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const... In bootchain-doc/testing/server/server-setup line 142: . "$rundir/dns-$dnssrv" ^-------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. In bootchain-doc/testing/server/server-setup line 143: . "$rundir/ftp-$ftpsrv" ^-------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. In bootchain-doc/testing/server/server-setup line 144: . "$rundir/http-$httpsrv" ^---------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. In bootchain-doc/testing/server/server-setup line 145: . "$rundir/nfs-v$nfsver" ^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. For more information: https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const... In bootchain-interactive/data/bin/interactive-sh-functions line 179: . "${_IM_widgetsdir}/$widget" ^-------------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. For more information: https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const... *** Checking to SC1091... In bootchain-core/data/lib/initrd/cmdline.d/pipeline line 3: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-core/data/lib/initrd/cmdline.d/bootchain line 3: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-core/data/etc/rc.d/init.d/bootchain line 13: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-core/data/bin/bootchain-sh-functions line 10: . /etc/sysconfig/bootchain ^----------------------^ SC1091 (info): Not following: /etc/sysconfig/bootchain: openBinaryFile: does not exist (No such file or directory) In bootchain-core/data/bin/bootchain-sh-functions line 12: . initrd-sh-functions ^-----------------^ SC1091 (info): Not following: initrd-sh-functions: openBinaryFile: does not exist (No such file or directory) In bootchain-core/data/bin/bootchain-sh-functions line 13: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) In bootchain-core/data/bin/bootchain-sh-functions line 14: . shell-signal ^----------^ SC1091 (info): Not following: shell-signal: openBinaryFile: does not exist (No such file or directory) In bootchain-core/data/bin/bootchain-sh-functions line 225: . /etc/initrd-release ^-----------------^ SC1091 (info): Not following: /etc/initrd-release: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-doc/testing/server/server-setup line 28: . "$rundir"/server.conf ^-------------------^ SC1091 (info): Not following: ./server.conf: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: ./server.conf: ope... In bootchain-interactive/data/bin/interactive-sh-functions line 6: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) In bootchain-interactive/data/bin/interactive-sh-functions line 7: . initrd-sh-functions ^-----------------^ SC1091 (info): Not following: initrd-sh-functions: openBinaryFile: does not exist (No such file or directory) In bootchain-interactive/data/bin/interactive-sh-functions line 9: . shell-signal ^----------^ SC1091 (info): Not following: shell-signal: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev line 3: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) In bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev line 4: . initrd-sh-functions ^-----------------^ SC1091 (info): Not following: initrd-sh-functions: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... In bootchain-waitdev/data/lib/initrd/pre/bootchain/300-waitdev line 3: . /.initrd/initenv ^--------------^ SC1091 (info): Not following: /.initrd/initenv: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: /.initrd/initenv: ... *** Checking to SC2004... In bootchain-altboot/data/lib/bootchain/overlayroot line 34: WAITDEV=$((1 + $WAITDEV)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-altboot/data/lib/bootchain/overlayroot line 39: WAITDEV=$((1 + $WAITDEV)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-altboot/data/lib/bootchain/overlayroot line 42: MOUNTFS=$((1 + $MOUNTFS)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-altboot/data/lib/bootchain/download line 270: i=$((3 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-altboot/data/lib/bootchain/download line 292: local szkb="$(( $filesize / 1024 + 1 ))" ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-altboot/data/lib/bootchain/copyfile line 41: local szkb="$(( $size / 1024 + 1 ))" ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-altboot/data/bin/altboot-sh-functions line 148: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-cifs/data/lib/bootchain/cifs line 198: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-core/data/sbin/chaind line 96: callnum=$((1 + $callnum)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-core/data/sbin/chaind line 167: callnum=$((1 + $callnum)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-core/data/sbin/chaind line 172: stepnum=$((1 + $stepnum)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-doc/testing/mksrvdata.sh line 36: echo -n "$((1 + $sz))" ^-^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-doc/testing/mksrvdata.sh line 45: echo -n "$((1 + $sz))" ^-^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-getimage/data/lib/bootchain/getimage line 14: n=$(($n + 1)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/ponder line 17: percent=$(( $percent + $step )) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/ponder line 19: percent=$(( $percent - $step )) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/ponder line 24: percent=$(( $percent - $step )) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/ponder line 26: percent=$(( $percent + $step )) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/gauge line 11: height=$(( $width / ${_IM_max_width} + 1 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/gauge line 20: height=$((1 + $height)) ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/gauge line 29: $((5 + $height)) $width 2>/dev/null \ ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/form line 17: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/form line 26: lw=$((4 + $lw)); i=1 ^-^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/form line 29: local height=$((7 + $textHeight + $formHeight)) ^---------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/form line 30: local fieldWidth=$(( $width - $lw - 6 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^-^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/form line 52: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/form line 68: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/errmsg line 13: height=$(( $width / ${_IM_max_width} + 2 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/errmsg line 24: $((4 + $height)) $width ||: ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 13: height=$(( $width / ${_IM_max_width} + 2 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 22: $((4 + $height)) $width ||: ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/lib/IM-widgets/choice line 20: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/choice line 31: height=$(( $width / ${_IM_max_width} + 1 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/choice line 35: height=$((14 + $height)) ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/lib/IM-widgets/choice line 37: height=$((7 + $height + $items)) ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/bin/interactive-sh-functions line 134: _IM_max_width=$(( $cols - 6 )) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/bin/interactive-sh-functions line 150: message "TTY${_IM_VT_number} will be activated after $((1 + $delay)) seconds" ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-interactive/data/bin/activate-interactive-vt line 15: delay=$(( $delay - 1 )) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 145: partn=$((1 + $partn)) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 179: partn=$((1 + $partn)) ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-localdev/data/lib/bootchain/oemsetup line 74: iter=$((1 + $iter)) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/lib/bootchain/oemsetup line 87: nsec=$(( $nsec + $iter )) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-localdev/data/lib/bootchain/localdev line 268: iter=$((1 + $iter)) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/lib/bootchain/localdev line 282: nsec=$(( $nsec + $iter )) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-localdev/data/bin/scandev-sh-functions line 167: ntargets=$((1 + $ntargets)) ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 281: fssize="$(( $fssize * 512 ))" ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 288: fssize=$(( $fssize / $mul )) ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-nfs/data/lib/bootchain/nfs line 188: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev line 34: i=$(($i + 1)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-waitdev/data/lib/initrd/pre/bootchain/300-waitdev line 14: i=$((1 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-waitdev/data/lib/bootchain/waitdev line 38: timeout=$(($timeout - 1)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-waitnet/data/lib/bootchain/waitnet line 82: n=$(( $n - 1 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... In bootchain-waitnet/data/bin/altboot-net-functions line 23: n=$(( $n - 8 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-waitnet/data/bin/altboot-net-functions line 26: n=$(( $n - 16 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-waitnet/data/bin/altboot-net-functions line 30: n=$(( $n - 24 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-waitnet/data/bin/altboot-net-functions line 37: m=$(( $m | $s )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-waitnet/data/bin/altboot-net-functions line 38: s=$(( $s >> 1 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-waitnet/data/bin/altboot-net-functions line 39: n=$(( $n - 1 )) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. For more information: https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... *** Checking to SC2006... *** Checking to SC2015... In bootchain-altboot/data/lib/bootchain/liveboot line 78: [ "$stagename" != live ] && [ "$flags" = "${flags//*live_ro*/}" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-altboot/data/lib/bootchain/liveboot line 113: [ -n "$prevdir" ] && mountpoint -q -- "$prevdir" || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-altboot/data/lib/bootchain/iso9660 line 12: [ -n "$prevdir" ] && [[ -s "$prevdir/DEVNAME" || -b "$prevdir/dev" ]] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-altboot/data/lib/bootchain/download line 379: [ -s "$target" ] && read -r to <"$target" && [ -n "$to" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-altboot/data/lib/bootchain/download line 475: [ -n "$prevdir" ] && mountpoint -q -- "$prevdir" || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-altboot/data/lib/bootchain/copyfile line 29: size="$(run stat -L -c%s -- "$src")" && [ -n "$size" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-altboot/data/lib/bootchain/copyfile line 99: [ -n "$prevdir" ] && mountpoint -q -- "$prevdir" || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-altboot/data/lib/bootchain/copyfile line 101: [ -n "$src" ] && [ -r "${prevdir}${src}" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-altboot/data/lib/bootchain/copyfile line 109: [ -d "$devname" ] && [ -n "$dst" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-altboot/data/lib/bootchain/altboot line 188: [ -n "$AUTOMATIC" ] && altboot_config || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-core/data/sbin/chaind line 202: run umount -- "$mntdir" && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-core/data/lib/bootchain/rootfs line 6: [ -n "$prevdir" ] && mountpoint -q -- "$prevdir" || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-doc/testing/server/server-setup line 41: *) grep -qws cliff /etc/altlinux-release && cert8sp=1 ||: ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-doc/testing/server/server-setup line 187: rpm -qa |grep -qs 'kernel-image-un-def' && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-doc/testing/server/server-setup line 194: rpm -q kernel-modules-$i-std-def >/dev/null 2>&1 && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-doc/testing/server/pxecase line 27: [ -s "$netinst/$distro"/initrd.img ] && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-doc/testing/server/pxecase line 32: cd / && umount -fl -- "$netinst"/mnt 2>/dev/null ||: ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-doc/testing/run-server line 16: [ -L /sys/class/net/tap0 ] && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. In bootchain-doc/testing/run-server line 45: "$PROGDIR"/mkhwaddr && [ -s "$PROGDIR/HWADDR.lst" ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-doc/testing/run-client line 16: [ -L /sys/class/net/tap0 ] && ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-localdev/data/lib/bootchain/oemsetup line 84: device_choice && try_with_partition && break ||: ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-localdev/data/lib/bootchain/localdev line 279: boot_device_choice && break ||: ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-localdev/data/bin/scandev-sh-functions line 100: [ -n "$major" ] && [ "$major" != major ] || ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... In bootchain-waitnet/data/lib/bootchain/waitnet line 77: grep -qs ' inet ' && break 2 ||: ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true. For more information: https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t... *** Checking to SC2034... In bootchain-altboot/data/lib/bootchain/altboot line 58: IM_WIDGET_ARGS= ^------------^ SC2034 (warning): IM_WIDGET_ARGS appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- IM_WIDGET_ARGS appears unused. Ve... In bootchain-altboot/data/lib/altboot/translate.d/350-squashfs line 13: ALTBOOT_COPYFILE0="src=/$STAGENAME" ^---------------^ SC2034 (warning): ALTBOOT_COPYFILE0 appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/350-squashfs line 17: ALTBOOT_CHECKSUM0="$HASH" ^---------------^ SC2034 (warning): ALTBOOT_CHECKSUM0 appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/350-squashfs line 21: ALTBOOT_SQUASHFS0="-" ^---------------^ SC2034 (warning): ALTBOOT_SQUASHFS0 appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT_CHECKSUM0 appears unused.... In bootchain-altboot/data/lib/altboot/translate.d/100-download line 11: ALTBOOT_CHECKSUM0="$HASH" ^---------------^ SC2034 (warning): ALTBOOT_CHECKSUM0 appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/100-download line 28: ALTBOOT_DOWNLOAD0="$VALUE" ^---------------^ SC2034 (warning): ALTBOOT_DOWNLOAD0 appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/100-download line 29: overlays= ^------^ SC2034 (warning): overlays appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/100-download line 30: LOWMEM=1 ^----^ SC2034 (warning): LOWMEM appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT_CHECKSUM0 appears unused.... In bootchain-altboot/data/lib/altboot/translate.d/070-lowmem line 3: [ "$STAGENAME" != live ] || LOWMEM=1 ^----^ SC2034 (warning): LOWMEM appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- LOWMEM appears unused. Verify use... In bootchain-altboot/data/bin/altboot-sh-functions line 9: ALTBOOT_OLDROOT= ^-------------^ SC2034 (warning): ALTBOOT_OLDROOT appears unused. Verify use (or export if used externally). In bootchain-altboot/data/bin/altboot-sh-functions line 13: altboot_auto=/.initrd/bootchain/altboot.auto ^----------^ SC2034 (warning): altboot_auto appears unused. Verify use (or export if used externally). In bootchain-altboot/data/bin/altboot-sh-functions line 20: IM_BACKTITLE="${OEM_WELCOME_TEXT:-Welcome to GNU/Linux!}" ^----------^ SC2034 (warning): IM_BACKTITLE appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT_OLDROOT appears unused. V... In bootchain-cifs/data/lib/altboot/translate.d/100-cifs line 15: ALTBOOT_CIFS0="$VALUE" ^-----------^ SC2034 (warning): ALTBOOT_CIFS0 appears unused. Verify use (or export if used externally). In bootchain-cifs/data/lib/altboot/translate.d/100-cifs line 16: ALTBOOT="waitnet,cifs" ^-----^ SC2034 (warning): ALTBOOT appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT appears unused. Verify us... In bootchain-cifs/data/lib/altboot/livecd-slice.d/700-cifs line 21: prefix="$(stage2_getenv PREFIX)" ^----^ SC2034 (warning): prefix appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- prefix appears unused. Verify use... In bootchain-core/data/bin/bootchain-sh-functions line 7: BC_LOG_VT=3 ^-------^ SC2034 (warning): BC_LOG_VT appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 16: message_time=1 ^----------^ SC2034 (warning): message_time appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 25: pipeline_mode= ^-----------^ SC2034 (warning): pipeline_mode appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 32: handlerdir=/lib/bootchain ^--------^ SC2034 (warning): handlerdir appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- BC_LOG_VT appears unused. Verify ... In bootchain-doc/testing/mksrvdata.sh line 234: live_isosize="$(copy_iso_image live "$src_live")" ^----------^ SC2034 (warning): live_isosize appears unused. Verify use (or export if used externally). In bootchain-doc/testing/mksrvdata.sh line 235: rescue_isosize="$(copy_iso_image rescue "$src_rescue")" ^------------^ SC2034 (warning): rescue_isosize appears unused. Verify use (or export if used externally). In bootchain-doc/testing/mksrvdata.sh line 236: altinst_isosize="$(copy_iso_image altinst "$src_altinst")" ^-------------^ SC2034 (warning): altinst_isosize appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- altinst_isosize appears unused. V... In bootchain-doc/testing/mkhwaddr line 13: for i in 1 2 3 4 5; do ^-^ SC2034 (warning): i appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- i appears unused. Verify use (or ... In bootchain-interactive/data/bin/interactive-sh-functions line 11: message_time=1 ^----------^ SC2034 (warning): message_time appears unused. Verify use (or export if used externally). In bootchain-interactive/data/bin/interactive-sh-functions line 14: IM_BACKTITLE= ^----------^ SC2034 (warning): IM_BACKTITLE appears unused. Verify use (or export if used externally). In bootchain-interactive/data/bin/interactive-sh-functions line 15: IM_WIDGET_ARGS= ^------------^ SC2034 (warning): IM_WIDGET_ARGS appears unused. Verify use (or export if used externally). In bootchain-interactive/data/bin/interactive-sh-functions line 36: IM_RBMSG="Press ENTER to reboot the computer..." ^------^ SC2034 (warning): IM_RBMSG appears unused. Verify use (or export if used externally). In bootchain-interactive/data/bin/interactive-sh-functions line 130: IFS=';[' read -s -t2 -dR esc rows cols || { ^-^ SC2034 (warning): esc appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- IM_BACKTITLE appears unused. Veri... In bootchain-liverw/data/lib/altboot/translate.d/520-liverw line 3: [ "$STAGENAME" = rescue ] || [ "$STAGENAME" = live ] || LIVE_RW= ^-----^ SC2034 (warning): LIVE_RW appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- LIVE_RW appears unused. Verify us... In bootchain-liverw/data/lib/altboot/liveboot-pre.d/400-liverw line 8: live_rw= ^-----^ SC2034 (warning): live_rw appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- live_rw appears unused. Verify us... In bootchain-localdev/data/lib/altboot/translate.d/100-localdev line 29: ALTBOOT_LOCALDEV0="$VALUE" ^---------------^ SC2034 (warning): ALTBOOT_LOCALDEV0 appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT_LOCALDEV0 appears unused.... In bootchain-nfs/data/lib/altboot/translate.d/100-nfs line 11: ALTBOOT_NFS0="$VALUE" ^----------^ SC2034 (warning): ALTBOOT_NFS0 appears unused. Verify use (or export if used externally). In bootchain-nfs/data/lib/altboot/translate.d/100-nfs line 12: ALTBOOT="waitnet,nfs" ^-----^ SC2034 (warning): ALTBOOT appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- ALTBOOT appears unused. Verify us... *** Checking to SC2086... In bootchain-altboot/data/lib/bootchain/download line 175: ${method}_input_form ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${method}"_input_form In bootchain-altboot/data/lib/bootchain/download line 228: status="$(run curl ${opts}${auth:+ -u "$auth"} \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: status="$(run curl "${opts}"${auth:+ -u "$auth"} \ In bootchain-altboot/data/lib/bootchain/download line 332: ( curl ${opts}${auth:+ -u "$auth"} -- "$url" || ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ( curl "${opts}"${auth:+ -u "$auth"} -- "$url" || For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-altboot/data/lib/bootchain/checksum line 87: pv -n -i 0.5 -s $datasize | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: pv -n -i 0.5 -s "$datasize" | For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-core/data/sbin/chaind line 53: openvt -f -w -c$BC_LOG_VT -- /sbin/bootchain-logvt & ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: openvt -f -w -c"$BC_LOG_VT" -- /sbin/bootchain-logvt & For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-core/data/etc/rc.d/init.d/bootchain line 23: start_daemon --background $ARGS "$NAME" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: start_daemon --background "$ARGS" "$NAME" In bootchain-core/data/etc/rc.d/init.d/bootchain line 26: return $RETVAL ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "$RETVAL" In bootchain-core/data/etc/rc.d/init.d/bootchain line 30: stop_daemon $ARGS "$NAME" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_daemon "$ARGS" "$NAME" In bootchain-core/data/etc/rc.d/init.d/bootchain line 33: return $RETVAL ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "$RETVAL" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-doc/testing/server/server-setup line 194: rpm -q kernel-modules-$i-std-def >/dev/null 2>&1 && ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rpm -q kernel-modules-"$i"-std-def >/dev/null 2>&1 && In bootchain-doc/testing/server/server-setup line 207: apt-get remove -y --purge $list ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: apt-get remove -y --purge "$list" In bootchain-doc/testing/server/server-setup line 212: apt-get install -y $packages ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: apt-get install -y "$packages" In bootchain-doc/testing/server/server-setup line 238: systemctl stop $i ||: ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: systemctl stop "$i" ||: In bootchain-doc/testing/server/server-setup line 239: systemctl disable $i ||: ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: systemctl disable "$i" ||: In bootchain-doc/testing/server/server-setup line 249: ${i}_setup ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${i}"_setup In bootchain-doc/testing/server/server-setup line 258: systemctl enable $i ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: systemctl enable "$i" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-doc/testing/run-server line 79: -rtc base=localtime,clock=host,driftfix=slew $ADD "$@" || ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -rtc base=localtime,clock=host,driftfix=slew "$ADD" "$@" || For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-doc/testing/run-client line 70: $nw -netdev tap,id=net1,ifname=tap1,script=no,downscript=no \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$nw" -netdev tap,id=net1,ifname=tap1,script=no,downscript=no \ For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/lib/IM-widgets/gauge line 10: if [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ $width -gt "${_IM_max_width}" ]; then In bootchain-interactive/data/lib/IM-widgets/gauge line 24: dialog $IM_WIDGET_ARGS \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dialog "$IM_WIDGET_ARGS" \ In bootchain-interactive/data/lib/IM-widgets/gauge line 29: $((5 + $height)) $width 2>/dev/null \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $((5 + $height)) "$width" 2>/dev/null \ For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/lib/IM-widgets/form line 15: [ ${#label} -le $lw ] || ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [ ${#label} -le "$lw" ] || For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/lib/IM-widgets/errmsg line 12: elif [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: elif [ $width -gt "${_IM_max_width}" ]; then In bootchain-interactive/data/lib/IM-widgets/errmsg line 19: dialog $IM_WIDGET_ARGS \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dialog "$IM_WIDGET_ARGS" \ In bootchain-interactive/data/lib/IM-widgets/errmsg line 24: $((4 + $height)) $width ||: ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $((4 + $height)) "$width" ||: For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 12: elif [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: elif [ $width -gt "${_IM_max_width}" ]; then In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 17: dialog $IM_WIDGET_ARGS \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dialog "$IM_WIDGET_ARGS" \ In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 22: $((4 + $height)) $width ||: ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $((4 + $height)) "$width" ||: For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/lib/IM-widgets/choice line 30: elif [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: elif [ $width -gt "${_IM_max_width}" ]; then For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-interactive/data/bin/interactive-sh-functions line 86: mknod "/dev/tty${_IM_VT_number}" c 4 ${_IM_VT_number} ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mknod "/dev/tty${_IM_VT_number}" c 4 "${_IM_VT_number}" In bootchain-interactive/data/bin/interactive-sh-functions line 87: exec openvt -f -w $now -c${_IM_VT_number} -- "$@" ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exec openvt -f -w $now -c"${_IM_VT_number}" -- "$@" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 167: if run mke2fs $opts -L "$OEM_LIVE_STORAGE" -- "$devname" 1>&2; then ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if run mke2fs "$opts" -L "$OEM_LIVE_STORAGE" -- "$devname" 1>&2; then For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-localdev/data/lib/bootchain/localdev line 63: if [ -b "$partdev" ] && run mount $opts -- "$partdev" "$mp"; then ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -b "$partdev" ] && run mount "$opts" -- "$partdev" "$mp"; then In bootchain-localdev/data/lib/bootchain/localdev line 68: run mount $opts -- "$target" "$mp" || rc=1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: run mount "$opts" -- "$target" "$mp" || rc=1 For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-localdev/data/bin/scandev-sh-functions line 39: -s $1 -- "/dev/$devname" 2>/dev/null ||: ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s "$1" -- "/dev/$devname" 2>/dev/null ||: In bootchain-localdev/data/bin/scandev-sh-functions line 196: -s $1 -- "/dev/$devname" 2>/dev/null ||: ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s "$1" -- "/dev/$devname" 2>/dev/null ||: For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-waitnet/data/lib/altboot/liveboot-post.d/900-waitnet line 75: set -- $addr ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: set -- "$addr" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... In bootchain-waitnet/data/bin/altboot-net-functions line 20: if [ $n -le 8 ]; then ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$n" -le 8 ]; then In bootchain-waitnet/data/bin/altboot-net-functions line 22: elif [ $n -le 16 ]; then ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: elif [ "$n" -le 16 ]; then In bootchain-waitnet/data/bin/altboot-net-functions line 25: elif [ $n -le 24 ]; then ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: elif [ "$n" -le 24 ]; then In bootchain-waitnet/data/bin/altboot-net-functions line 36: while [ $n -gt 0 ]; do ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: while [ "$n" -gt 0 ]; do In bootchain-waitnet/data/bin/altboot-net-functions line 62: set -- $a; a=( "$@" ) ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: set -- "$a"; a=( "$@" ) In bootchain-waitnet/data/bin/altboot-net-functions line 65: set -- $m; m=( "$@" ) ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: set -- "$m"; m=( "$@" ) For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... *** Checking to SC2154... In bootchain-altboot/data/lib/bootchain/squashfs line 33: run mount -t squashfs -r -- "$devname" "$rootmnt" ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- rootmnt is referenced but not ass... In bootchain-altboot/data/lib/bootchain/liveboot line 78: [ "$stagename" != live ] && [ "$flags" = "${flags//*live_ro*/}" ] || ^----^ SC2154 (warning): flags is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- flags is referenced but not assig... In bootchain-altboot/data/lib/bootchain/download line 322: printf '%s, read\n' "$?" >"$datadir/ERROR" ^------^ SC2154 (warning): datadir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-altboot/data/lib/bootchain/copyfile line 78: :>"$datadir/ERROR" ^------^ SC2154 (warning): datadir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-altboot/data/lib/bootchain/checksum line 89: cut -f1 -d' ' >"$datadir/CHECKSUM" ^------^ SC2154 (warning): datadir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-altboot/data/lib/altboot/translate.d/550-liveboot line 9: ALTBOOT_LIVEBOOT0="stagename=$STAGENAME;method=$method" ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-altboot/data/lib/altboot/translate.d/100-download line 3: case "$method" in ^-----^ SC2154 (warning): method is referenced but not assigned. In bootchain-altboot/data/lib/altboot/translate.d/100-download line 18: VALUE="$VALUE;url=$url" ^--^ SC2154 (warning): url is referenced but not assigned. In bootchain-altboot/data/lib/altboot/translate.d/100-download line 22: VALUE="$VALUE;user=$user;pass=$pass" ^---^ SC2154 (warning): pass is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-altboot/data/lib/altboot/rw-overlay.d/100-overlayroot line 9: dev="$(readlink-e "$live_rw" 2>/dev/null ||:)" ^------^ SC2154 (warning): live_rw is referenced but not assigned. In bootchain-altboot/data/lib/altboot/rw-overlay.d/100-overlayroot line 10: [ ! -b "$dev" ] || mountpoint -q -- "$prevdir.rw" || ^------^ SC2154 (warning): prevdir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- live_rw is referenced but not ass... In bootchain-altboot/data/lib/altboot/liveboot-post.d/950-altboot line 9: if grep -qs " $mntdir/" /proc/mounts; then ^-----^ SC2154 (warning): mntdir is referenced but not assigned. In bootchain-altboot/data/lib/altboot/liveboot-post.d/950-altboot line 24: [ ! -s "$altboot_envfile" ] || ^--------------^ SC2154 (warning): altboot_envfile is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- altboot_envfile is referenced but... In bootchain-cifs/data/lib/bootchain/cifs line 90: local dirpart mp="$datadir" image="$destdir" ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-cifs/data/lib/bootchain/cifs line 95: mp="$rootmnt" ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-cifs/data/lib/altboot/translate.d/100-cifs line 3: if [ "$method" = cifs ]; then ^-----^ SC2154 (warning): method is referenced but not assigned. In bootchain-cifs/data/lib/altboot/translate.d/100-cifs line 4: VALUE="server=$server" ^-----^ SC2154 (warning): server is referenced but not assigned. In bootchain-cifs/data/lib/altboot/translate.d/100-cifs line 14: VALUE="$VALUE;user=$user;pass=$pass" ^---^ SC2154 (warning): pass is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-cifs/data/lib/altboot/livecd-slice.d/700-cifs line 18: local prefix parentdir="${directory%/?*}" ^--------------^ SC2154 (warning): directory is referenced but not assigned. In bootchain-cifs/data/lib/altboot/livecd-slice.d/700-cifs line 38: mp="$prevdir.rw/rw$OEM_IMAGES_BASE" ^------^ SC2154 (warning): prevdir is referenced but not assigned. In bootchain-cifs/data/lib/altboot/livecd-slice.d/700-cifs line 53: if [ -d "${mp}${dirpart}/$profile" ]; then ^------^ SC2154 (warning): profile is referenced but not assigned. In bootchain-cifs/data/lib/altboot/livecd-slice.d/700-cifs line 67: [ "$method" != cifs ] || cifs_slice ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- directory is referenced but not a... In bootchain-core/data/sbin/chaind line 206: [ "$prevdir" = "$rootmnt" ] && datadir="" || ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- rootmnt is referenced but not ass... In bootchain-core/data/lib/bootchain/rootfs line 8: [ "$prevdir" = "$rootmnt" ] || ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- rootmnt is referenced but not ass... In bootchain-core/data/lib/bootchain/overlayfs line 23: mkdir -p -- "$datadir/rw" "$datadir/work" ^------^ SC2154 (warning): datadir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-core/data/lib/bootchain/debug line 21: message "Data DIR: $datadir" ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-core/data/lib/bootchain/debug line 67: [ -z "${OEM_CDROOT-}" ] && regex="$rootmnt" || ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-core/data/bin/bootchain-sh-functions line 46: eval "printf '%s' \"\${${1}$callnum-}\"" ^------^ SC2154 (warning): callnum is referenced but not assigned. In bootchain-core/data/bin/bootchain-sh-functions line 66: case "$destdir" in ^------^ SC2154 (warning): destdir is referenced but not assigned. In bootchain-core/data/bin/bootchain-sh-functions line 81: message "no previous step results to use with $name" ^---^ SC2154 (warning): name is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- callnum is referenced but not ass... In bootchain-doc/testing/server/samba-v4 line 17: interfaces = lo $iface ^----^ SC2154 (warning): iface is referenced but not assigned. In bootchain-doc/testing/server/samba-v4 line 18: hosts allow = 127. $subnet. ^-----^ SC2154 (warning): subnet is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- iface is referenced but not assig... In bootchain-doc/testing/server/nfs-v4 line 13: /srv/public $subnet.0/24(ro,insecure,subtree_check,no_root_squash) ^-----^ SC2154 (warning): subnet is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- subnet is referenced but not assi... In bootchain-doc/testing/server/ipxe-v4 line 30: server_args = -4 -a $server -u tftp -s /srv/boot -m /etc/tftpd.map ^-----^ SC2154 (warning): server is referenced but not assigned. In bootchain-doc/testing/server/ipxe-v4 line 43: ddns-domainname "$domain"; ^-----^ SC2154 (warning): domain is referenced but not assigned. In bootchain-doc/testing/server/ipxe-v4 line 54: subnet $subnet.0 netmask 255.255.255.0 { ^-----^ SC2154 (warning): subnet is referenced but not assigned. In bootchain-doc/testing/server/ipxe-v4 line 57: option routers $gateway; ^------^ SC2154 (warning): gateway is referenced but not assigned. In bootchain-doc/testing/server/ipxe-v4 line 90: echo "DHCPDARGS='$iface'" >/etc/sysconfig/dhcpd ^----^ SC2154 (warning): iface is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- domain is referenced but not assi... In bootchain-doc/testing/server/http-nginx line 17: listen $server:80; ^-----^ SC2154 (warning): server is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- server is referenced but not assi... In bootchain-getimage/data/lib/bootchain/getimage line 12: ! wget -O "$datadir/image" "$url" || ^------^ SC2154 (warning): datadir is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-interactive/data/lib/IM-widgets/ponder line 5: _IM_ponder_finished="${_IM_flag}/PONDER-FINISHED" ^---------^ SC2154 (warning): _IM_flag is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- _IM_flag is referenced but not as... In bootchain-interactive/data/lib/IM-widgets/gauge line 10: if [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2154 (warning): _IM_max_width is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- _IM_max_width is referenced but n... In bootchain-interactive/data/lib/IM-widgets/errmsg line 12: elif [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2154 (warning): _IM_max_width is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- _IM_max_width is referenced but n... In bootchain-interactive/data/lib/IM-widgets/dlgmsg line 12: elif [ $width -gt ${_IM_max_width} ]; then ^--------------^ SC2154 (warning): _IM_max_width is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- _IM_max_width is referenced but n... In bootchain-interactive/data/lib/IM-widgets/choice line 26: [ $width -gt "${_IM_max_width}" ] || ^--------------^ SC2154 (warning): _IM_max_width is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- _IM_max_width is referenced but n... In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 142: while [ "$partn" -lt "$timeout" ]; do ^------^ SC2154 (warning): timeout is referenced but not assigned. In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 214: [ ! -b "$dev" ] || mountpoint -q -- "$prevdir.rw" || ^------^ SC2154 (warning): prevdir is referenced but not assigned. In bootchain-liverw/data/lib/altboot/rw-overlay.d/400-liverw line 227: case "$method" in ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-liverw/data/lib/altboot/liveboot-pre.d/400-liverw line 3: case "$stagename" in ^--------^ SC2154 (warning): stagename is referenced but not assigned. In bootchain-liverw/data/lib/altboot/liveboot-pre.d/400-liverw line 7: [ "$flags" != "${flags//*live_rw*/}" ] || ^----^ SC2154 (warning): flags is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- flags is referenced but not assig... In bootchain-localdev/data/lib/bootchain/oemsetup line 24: if run mount -o ro -- "$target" "$datadir"; then ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-localdev/data/lib/bootchain/oemsetup line 48: if [ ! -x "$rootmnt/update.sh" ]; then ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-localdev/data/lib/bootchain/localdev line 151: image="$datadir" ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-localdev/data/lib/bootchain/localdev line 153: image="$rootmnt" ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-localdev/data/lib/altboot/translate.d/100-localdev line 3: case "$method" in ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-localdev/data/lib/altboot/livecd-slice.d/300-localdev line 33: message "mounting local overlays for profile '$profile'" ^------^ SC2154 (warning): profile is referenced but not assigned. In bootchain-localdev/data/lib/altboot/livecd-slice.d/300-localdev line 39: mp="$prevdir.rw/rw$OEM_IMAGES_BASE" ^------^ SC2154 (warning): prevdir is referenced but not assigned. In bootchain-localdev/data/lib/altboot/livecd-slice.d/300-localdev line 68: case "$method" in ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-nfs/data/lib/bootchain/nfs line 76: local mp="$datadir" image="$destdir" ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-nfs/data/lib/bootchain/nfs line 82: mp="$rootmnt" ^------^ SC2154 (warning): rootmnt is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-nfs/data/lib/altboot/translate.d/100-nfs line 3: if [ "$method" = nfs ]; then ^-----^ SC2154 (warning): method is referenced but not assigned. In bootchain-nfs/data/lib/altboot/translate.d/100-nfs line 4: VALUE="server=$server" ^-----^ SC2154 (warning): server is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- method is referenced but not assi... In bootchain-nfs/data/lib/altboot/livecd-slice.d/700-nfs line 11: [ -n "$dirp" ] || dirp="$directory" ^--------^ SC2154 (warning): directory is referenced but not assigned. In bootchain-nfs/data/lib/altboot/livecd-slice.d/700-nfs line 15: local mp="$prevdir.rw/rw$OEM_IMAGES_BASE" ^------^ SC2154 (warning): prevdir is referenced but not assigned. In bootchain-nfs/data/lib/altboot/livecd-slice.d/700-nfs line 49: if [ -d "$mp/$profile" ]; then ^------^ SC2154 (warning): profile is referenced but not assigned. In bootchain-nfs/data/lib/altboot/livecd-slice.d/700-nfs line 63: [ "$method" != nfs ] || nfs_slice ^-----^ SC2154 (warning): method is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- directory is referenced but not a... In bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev line 31: printf '%s\n' "$dev" > "$i" ^--^ SC2154 (warning): dev is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2154 -- dev is referenced but not assigned. *** Checking to SC2317... In bootchain-core/data/etc/rc.d/init.d/bootchain line 16: NAME=chaind ^---------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 17: PIDFILE="/var/run/$NAME.pid" ^--------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 18: ARGS="--lockfile $LOCKFILE --pidfile $PIDFILE --name $NAME --displayname $NAME" ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 20: start() { ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 21: RETVAL=0 ^------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 22: if [ "${ROOT-}" = bootchain ] || [ "${ROOT-}" = pipeline ]; then ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 23: start_daemon --background $ARGS "$NAME" ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 24: RETVAL=$? ^-------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 26: return $RETVAL ^------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 29: stop() { ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 30: stop_daemon $ARGS "$NAME" ^-----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 31: RETVAL=$? ^-------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 32: rm -f -- "$PIDFILE" ^-----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 33: return $RETVAL ^------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-core/data/etc/rc.d/init.d/bootchain line 36: switch "${1-}" ^------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). For more information: https://www.shellcheck.net/wiki/SC2317 -- Command appears to be unreachable... In bootchain-localdev/data/bin/scandev-sh-functions line 228: local __varname="$1" ^------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 229: local lbs="queue/logical_block_size" ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 230: local __bs partn whole="" path="$sysfs" ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 232: if [ ! -r "$path/$lbs" ]; then ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 233: if [ -r "$path/partition" ]; then ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 234: read -r partn <"$path/partition" || ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 235: partn= ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 236: if [ -n "$partn" ]; then ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 237: case "$devname" in ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 239: whole="${devname%%p"$partn"}" ^---------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 242: whole="${devname%%"$partn"}" ^--------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 247: [ -z "$whole" ] || [ ! -b "$whole" ] || ^--------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ^----------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 248: [ ! -r "/sys/block/$whole/$devname/dev" ] || ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 249: path="/sys/block/$whole" ^----------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 252: [ -r "$path/$lbs" ] && ^------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 253: read -r __bs <"$path/$lbs" || ^-------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 254: __bs=512 ^------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 255: assign "${__varname}" "${__bs}" ^-----------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). For more information: https://www.shellcheck.net/wiki/SC2317 -- Command appears to be unreachable... *** Checking with all excludes... + exit 0 Processing files: make-initrd-bootchain-0.1.5-alt14 Requires: make-initrd-bootchain-core = 0.1.5-alt14, make-initrd-bootchain-getimage = 0.1.5-alt14, make-initrd-bootchain-waitdev = 0.1.5-alt14, make-initrd-bootchain-interactive = 0.1.5-alt14, make-initrd-bootchain-altboot = 0.1.5-alt14, make-initrd-bootchain-localdev = 0.1.5-alt14, make-initrd-bootchain-liverw = 0.1.5-alt14, make-initrd-bootchain-waitnet = 0.1.5-alt14, make-initrd-bootchain-nfs = 0.1.5-alt14, make-initrd-bootchain-cifs = 0.1.5-alt14 Processing files: make-initrd-bootchain-core-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.l1qB9r find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JYNzv4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd >= 2.9 Processing files: make-initrd-bootchain-getimage-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fZesTJ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fYFAm1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-core = 0.1.5-alt14, wget Processing files: make-initrd-bootchain-waitdev-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.d7T9ex find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TZAMwf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-core = 0.1.5-alt14 Processing files: make-initrd-bootchain-interactive-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZB40vR find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GzczVw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-core = 0.1.5-alt14, console-vt-tools, dialog, less, pv Processing files: make-initrd-bootchain-altboot-0.1.5-alt14 warning: absolute symlink: /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/make-initrd/features/bootchain-altboot/data/lib/initrd/boot/method/altboot/check -> /bin/false Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kiBvth find-provides: absolute symbolic link /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/make-initrd/features/bootchain-altboot/data/lib/initrd/boot/method/altboot/check -> /bin/false is not going to provide anything find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.M4upKl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-interactive = 0.1.5-alt14, curl, losetup, /bin/false Processing files: make-initrd-bootchain-localdev-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Os8vos find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cyH5Ts find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-altboot = 0.1.5-alt14 Processing files: make-initrd-bootchain-liverw-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NcdUVe find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hrC4Ce find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-localdev = 0.1.5-alt14, e2fsprogs, fdisk, sfdisk Processing files: make-initrd-bootchain-waitnet-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3w6jeC find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Rf8ga3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-altboot = 0.1.5-alt14 Processing files: make-initrd-bootchain-nfs-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pgnLnH find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CmjHIS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-waitnet = 0.1.5-alt14, nfs-utils, iproute2 Processing files: make-initrd-bootchain-cifs-0.1.5-alt14 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aJFKlc find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.K408ju find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Requires: make-initrd-bootchain-waitnet = 0.1.5-alt14, cifs-utils, hostinfo Processing files: make-initrd-bootchain-doc-0.1.5-alt14 warning: absolute symlink: /usr/src/tmp/make-initrd-bootchain-buildroot/usr/share/doc/make-initrd-bootchain/altboot-mixed/data/lib/initrd/boot/method/altboot/check -> /bin/false Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ppWhN1 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.skl33k find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,static,symlinks,systemd-services) Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-core Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-getimage Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-waitdev Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-interactive Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-altboot Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-localdev Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-liverw Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-waitnet Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-nfs Adding to make-initrd-bootchain a strict dependency on make-initrd-bootchain-cifs Adding to make-initrd-bootchain-getimage a strict dependency on make-initrd-bootchain-core Adding to make-initrd-bootchain-waitdev a strict dependency on make-initrd-bootchain-core Adding to make-initrd-bootchain-interactive a strict dependency on make-initrd-bootchain-core Adding to make-initrd-bootchain-altboot a strict dependency on make-initrd-bootchain-interactive Adding to make-initrd-bootchain-localdev a strict dependency on make-initrd-bootchain-altboot Adding to make-initrd-bootchain-waitnet a strict dependency on make-initrd-bootchain-altboot Adding to make-initrd-bootchain-liverw a strict dependency on make-initrd-bootchain-localdev Adding to make-initrd-bootchain-nfs a strict dependency on make-initrd-bootchain-waitnet Adding to make-initrd-bootchain-cifs a strict dependency on make-initrd-bootchain-waitnet Removing 1 extra deps from make-initrd-bootchain due to repentancy on make-initrd-bootchain-getimage Removing 1 extra deps from make-initrd-bootchain due to repentancy on make-initrd-bootchain-altboot Removing 1 extra deps from make-initrd-bootchain due to repentancy on make-initrd-bootchain-localdev Removing 1 extra deps from make-initrd-bootchain due to repentancy on make-initrd-bootchain-liverw Removing 1 extra deps from make-initrd-bootchain due to repentancy on make-initrd-bootchain-nfs Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-core-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-getimage-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-waitdev-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-interactive-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-altboot-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-localdev-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-liverw-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-waitnet-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-nfs-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-cifs-0.1.5-alt14.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-doc-0.1.5-alt14.noarch.rpm (w2.lzdio) 248.76user 22.21system 4:56.15elapsed 91%CPU (0avgtext+0avgdata 226784maxresident)k 0inputs+0outputs (0major+8524184minor)pagefaults 0swaps 3.15user 2.21system 5:10.66elapsed 1%CPU (0avgtext+0avgdata 110516maxresident)k 0inputs+0outputs (32954major+167704minor)pagefaults 0swaps