From 6a8cbc08c0ffb72a698078ff18eadacefe5b8772 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 11 Jul 2017 03:12:42 +0200 Subject: [PATCH] scripts/gen_image_generic.sh: drop NOGRUB variable It's not used since commit 816a9b30f683b8376423ff029d40e0e4a2701026. Signed-off-by: Stijn Tintel --- scripts/gen_image_generic.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/gen_image_generic.sh b/scripts/gen_image_generic.sh index 17d969b96b..206ba7f3fa 100755 --- a/scripts/gen_image_generic.sh +++ b/scripts/gen_image_generic.sh @@ -30,8 +30,6 @@ ROOTFSSIZE="$(($4 / 512))" [ -n "$PADDING" ] && dd if=/dev/zero of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc count="$ROOTFSSIZE" dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc -[ -n "$NOGRUB" ] && exit 0 - make_ext4fs -J -l "$KERNELSIZE" "$OUTPUT.kernel" "$KERNELDIR" dd if="$OUTPUT.kernel" of="$OUTPUT" bs=512 seek="$KERNELOFFSET" conv=notrunc rm -f "$OUTPUT.kernel" -- 2.30.2