<86>Apr 27 10:58:44 userdel[560591]: delete user 'rooter' <86>Apr 27 10:58:44 userdel[560591]: removed group 'rooter' owned by 'rooter' <86>Apr 27 10:58:44 userdel[560591]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 27 10:58:44 groupadd[560598]: group added to /etc/group: name=rooter, GID=1217 <86>Apr 27 10:58:44 groupadd[560598]: group added to /etc/gshadow: name=rooter <86>Apr 27 10:58:44 groupadd[560598]: new group: name=rooter, GID=1217 <86>Apr 27 10:58:44 useradd[560604]: new user: name=rooter, UID=1217, GID=1217, home=/root, shell=/bin/bash, from=none <86>Apr 27 10:58:44 userdel[560616]: delete user 'builder' <86>Apr 27 10:58:44 userdel[560616]: removed group 'builder' owned by 'builder' <86>Apr 27 10:58:44 userdel[560616]: removed shadow group 'builder' owned by 'builder' <86>Apr 27 10:58:44 groupadd[560623]: group added to /etc/group: name=builder, GID=1218 <86>Apr 27 10:58:44 groupadd[560623]: group added to /etc/gshadow: name=builder <86>Apr 27 10:58:44 groupadd[560623]: new group: name=builder, GID=1218 <86>Apr 27 10:58:44 useradd[560631]: new user: name=builder, UID=1218, GID=1218, home=/usr/src, shell=/bin/bash, from=none <13>Apr 27 10:58:49 rpmi: shellcheck-0.9.0-alt1 sisyphus+326169.23500.17.2 1692855443 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/make-initrd-bootchain-0.1.5-alt23.nosrc.rpm (w1.gzdio) Installing make-initrd-bootchain-0.1.5-alt23.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.9738 + 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.9738 + 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:/usr/bin:/bin:/usr/local/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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/make-initrd-bootchain-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.9738 + 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 194: . "${_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 200: . "$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 218: . "${_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 11: . /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 13: . 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 14: . /.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 15: . 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 227: . /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 281: i=$((3 + $i)) ^-- SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-altboot/data/lib/bootchain/download line 303: 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 147: 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 109: callnum=$((1 + $callnum)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-core/data/sbin/chaind line 170: try=$(( $try - 1 )) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-core/data/sbin/chaind line 185: callnum=$((1 + $callnum)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-core/data/sbin/chaind line 190: 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/ping line 54: iter=$(( $iter - 1 )) ^---^ 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 13: 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/errchoice 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/errchoice line 24: $((4 + $height)) $width || ret=$? ^-----^ 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 70: mintime=$((2 + $mintime)) ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/bin/interactive-sh-functions line 150: _IM_max_width=$(( $cols - 6 )) ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-interactive/data/bin/interactive-sh-functions line 166: 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 79: nsec=$((1 + $nsec)) ^---^ 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 274: nsec=$((1 + $nsec)) ^---^ 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 168: '') ntargets=$((1 + $ntargets)) ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 171: ntargets=$((1 + $ntargets)) ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 174: ntargets=$((1 + $ntargets)) ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 291: fssize="$(( $fssize * 512 ))" ^-----^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In bootchain-localdev/data/bin/scandev-sh-functions line 298: 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 79: [ "$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 112: [ -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 386: [ -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 482: [ -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 175: [ -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 222: 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/sbin/bootchain-logvt line 33: [ -n "$ppid" ] && kill -0 "$ppid" >/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-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 85: 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 280: 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/altboot/translate.d/350-squashfs line 19: 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 23: 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 13: 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 30: 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 31: overlays= ^------^ SC2034 (warning): overlays appears unused. Verify use (or export if used externally). In bootchain-altboot/data/lib/altboot/translate.d/100-download line 32: 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/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 8: BC_DEVICE_TIMEOUT=60 ^---------------^ SC2034 (warning): BC_DEVICE_TIMEOUT appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 17: 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 26: pipeline_mode= ^-----------^ SC2034 (warning): pipeline_mode appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 33: handlerdir=/lib/bootchain ^--------^ SC2034 (warning): handlerdir appears unused. Verify use (or export if used externally). In bootchain-core/data/bin/bootchain-sh-functions line 34: BC_ROOT=/bc-root ^-----^ SC2034 (warning): BC_ROOT appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC2034 -- BC_DEVICE_TIMEOUT appears unused.... In bootchain-doc/testing/mksrvdata.sh line 278: 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 279: 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 280: 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 146: 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 186: ${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 239: 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 343: ( 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 91: 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 66: 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 24: 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 28: 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 39: 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 52: 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/errchoice 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/errchoice 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/errchoice line 24: $((4 + $height)) $width || ret=$? ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $((4 + $height)) "$width" || ret=$? 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 102: 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 103: 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 62: 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 67: 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 206: -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/liveboot line 79: [ "$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 333: 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 93: 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 8: elif [ "$type" != iso ]; then ^---^ SC2154 (warning): type is referenced but not assigned (for output from commands, use "$(type ...)" ). In bootchain-altboot/data/lib/altboot/translate.d/100-download line 20: VALUE="$VALUE;url=$url" ^--^ SC2154 (warning): url is referenced but not assigned. In bootchain-altboot/data/lib/altboot/translate.d/100-download line 24: 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. 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 256: run mount --move -- "$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 34: 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. For more information: https://www.shellcheck.net/wiki/SC2154 -- datadir is referenced but not ass... In bootchain-core/data/bin/bootchain-sh-functions line 48: eval "printf '%s' \"\${${1}$callnum-}\"" ^------^ SC2154 (warning): callnum is referenced but not assigned. In bootchain-core/data/bin/bootchain-sh-functions line 68: case "$destdir" in ^------^ SC2154 (warning): destdir is referenced but not assigned. In bootchain-core/data/bin/bootchain-sh-functions line 83: 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 11: ! 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/errchoice 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 23: if run mount -o ro -- "$target" "$datadir"; then ^------^ SC2154 (warning): datadir is referenced but not assigned. In bootchain-localdev/data/lib/bootchain/oemsetup line 47: 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 150: image="$datadir" ^------^ 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-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. 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: local 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 23: 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 24: 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 25: 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 28: 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 31: 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 32: local PID 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 34: if [ -f "$PIDFILE" ]; 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-core/data/etc/rc.d/init.d/bootchain line 35: read -r PID <"$PIDFILE" 2>/dev/null || ^-- 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: 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 38: if [ -n "$PID" ] && kill -0 "$PID" &>/dev/null; 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 39: 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 40: 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 43: 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 46: sleep 1 ^-----^ 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 48: for PID in 7 6 5 4 3 2; do ^-- 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 49: deallocvt "$PID" &>/dev/null ||: ^---------------------------^ 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 52: 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 55: 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 238: 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 239: 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 240: 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 242: 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 243: 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 244: 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 245: partn= ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). In bootchain-localdev/data/bin/scandev-sh-functions line 246: 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 247: 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 249: 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 252: 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 257: [ -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 258: [ ! -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 259: 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 262: [ -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 263: 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 264: __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 265: 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-alt23 Requires: make-initrd-bootchain-core = 0.1.5-alt23, make-initrd-bootchain-getimage = 0.1.5-alt23, make-initrd-bootchain-waitdev = 0.1.5-alt23, make-initrd-bootchain-interactive = 0.1.5-alt23, make-initrd-bootchain-altboot = 0.1.5-alt23, make-initrd-bootchain-localdev = 0.1.5-alt23, make-initrd-bootchain-liverw = 0.1.5-alt23, make-initrd-bootchain-waitnet = 0.1.5-alt23, make-initrd-bootchain-nfs = 0.1.5-alt23, make-initrd-bootchain-cifs = 0.1.5-alt23 Processing files: make-initrd-bootchain-core-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.l9Lzjv 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.13w1NQ 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-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.amCEBw 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.g5UFUc 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-alt23, wget Processing files: make-initrd-bootchain-waitdev-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KgwWgP 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.whdHl7 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-alt23 Processing files: make-initrd-bootchain-interactive-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FFBzT4 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.zn2yTn 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-alt23, console-vt-tools, dialog, less, pv Processing files: make-initrd-bootchain-altboot-0.1.5-alt23 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.fWqunX 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.N5P7XU 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-alt23, curl, losetup, /bin/false Processing files: make-initrd-bootchain-localdev-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wXJZeJ 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.UYcaDA 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-alt23 Processing files: make-initrd-bootchain-liverw-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.elzXU5 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.hf32F6 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-alt23, e2fsprogs, fdisk, sfdisk Processing files: make-initrd-bootchain-waitnet-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4P2OD9 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.WCTlCi 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-alt23 Processing files: make-initrd-bootchain-nfs-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ED77vN 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.RLCAD9 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-alt23, nfs-utils, iproute2 Processing files: make-initrd-bootchain-cifs-0.1.5-alt23 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hF0vrB 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.eO9xPW 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-alt23, cifs-utils, hostinfo Processing files: make-initrd-bootchain-doc-0.1.5-alt23 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.3FNB2r 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.zHkBor 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-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-core-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-getimage-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-waitdev-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-interactive-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-altboot-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-localdev-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-liverw-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-waitnet-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-nfs-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-cifs-0.1.5-alt23.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/make-initrd-bootchain-doc-0.1.5-alt23.noarch.rpm (w2.lzdio) 300.72user 15.58system 5:37.29elapsed 93%CPU (0avgtext+0avgdata 124772maxresident)k 0inputs+0outputs (0major+5308465minor)pagefaults 0swaps 5.17user 1.77system 5:48.36elapsed 1%CPU (0avgtext+0avgdata 130892maxresident)k 5592inputs+0outputs (0major+190034minor)pagefaults 0swaps