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
2020-05-24 22:45:18 +08:00
2020-02-21 02:41:00 +08:00
2018-01-09 14:38:15 +08:00
2020-11-03 11:54:47 +08:00
2020-11-21 17:58:25 +08:00
2020-02-21 02:41:00 +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
2021-05-13 22:49:42 +08:00
2021-05-29 23:21:13 +08:00
2017-09-06 19:19:45 +08:00
2021-05-29 23:21:13 +08:00
2020-11-21 17:58:30 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2021-10-12 23:51:27 +08:00
2020-02-21 02:41:00 +08:00
2021-08-30 23:07:46 +08:00
2020-08-04 23:54:03 +08:00
2020-07-12 23:11:33 +08:00
2017-09-06 19:19:45 +08:00
2021-06-08 23:16:09 +08:00
2018-09-07 13:43:55 +08:00
2020-12-23 11:48:18 +08:00
2021-10-14 21:25:07 +08:00
2020-02-21 02:41:00 +08:00
2020-09-01 17:29:22 +08:00
2020-11-03 11:53:49 +08:00
2021-03-16 11:13:58 +08:00
2021-05-13 22:49:42 +08:00
2020-02-21 02:41:00 +08:00
2021-09-17 04:49:04 +08:00
2021-06-21 20:35:32 +08:00
2020-11-14 13:51:51 +08:00
2019-03-07 19:45:12 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2021-10-12 23:55:51 +08:00
2020-12-23 11:34:20 +08:00
2019-10-22 23:14:35 -07:00
2020-09-26 11:33:12 +08:00
2021-05-13 22:49:42 +08:00
2021-10-12 23:56:16 +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
2017-09-06 19:19:45 +08:00
2021-01-02 12:12:11 +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
2019-01-03 19:29:28 +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
2020-11-14 13:45:59 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2020-02-21 02:41:00 +08:00
2020-02-21 02:41:00 +08:00
2021-01-16 12:05:05 +08:00
2020-02-21 02:41:00 +08:00
2017-09-06 19:19:45 +08:00
2019-12-13 08:25:54 -08:00