Petr Štetiar
92d7cedcad
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>
2020-07-11 14:42:32 +02:00
..
2020-07-07 19:47:24 +02:00
2020-05-24 14:44:00 +02:00
2020-05-19 08:05:22 +02:00
2020-05-21 19:11:24 +02:00
2020-05-19 08:06:29 +02:00
2017-05-02 14:33:58 +02:00
2020-04-14 23:16:55 +01:00
2020-07-11 13:33:28 +02:00
2020-07-11 14:42:32 +02:00
2020-06-30 23:21:10 +01:00
2020-07-07 19:47:24 +02:00
2020-06-02 08:37:54 +02:00
2020-06-02 08:33:11 +02:00
2020-06-02 13:06:42 +02:00