Files
immortalwrt/scripts
Petr Štetiar dc89ad3dfe scripts/gen_image_generic.sh: fix more shellcheck warnings
Fixes following shellcheck warnings:

 In scripts/gen_image_generic.sh line 20:
 cyl=$(( (KERNELSIZE + ROOTFSSIZE) * 1024 * 1024 / (head * sect * 512)))
 ^-^ SC2034: cyl appears unused. Verify use (or export if used externally).
 --
 In scripts/gen_image_generic.sh line 34:
     [ -n "$PADDING" ] && dd if=/dev/zero of="$OUTPUT" bs=512 seek="$(($ROOTFSOFFSET + $ROOTFSSIZE))" conv=notrunc count="$sect"
                                                                       ^-----------^ SC2004: $/${} is unnecessary on arithmetic variables.
 --
 In scripts/gen_image_generic.sh line 35:
     mkfs.fat -n kernel -C "$OUTPUT.kernel" -S 512 "$(($KERNELSIZE / 1024))"
                                                       ^---------^ SC2004: $/${} is unnecessary on arithmetic variables.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 92d7cedcad)
2021-10-14 21:25:07 +08:00
..
2020-07-08 12:02:08 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2021-05-13 22:49:42 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2018-09-07 13:43:55 +08:00
2021-05-13 22:49:42 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2020-11-28 18:27:07 +08:00
2018-09-07 13:43:55 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2017-09-06 19:19:45 +08:00