From: Stijn Tintel Date: Tue, 11 Jul 2017 01:12:42 +0000 (+0200) Subject: scripts/gen_image_generic.sh: drop NOGRUB variable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6a8cbc08c0ffb72a698078ff18eadacefe5b8772;p=openwrt%2Fstaging%2Fdangole.git scripts/gen_image_generic.sh: drop NOGRUB variable It's not used since commit 816a9b30f683b8376423ff029d40e0e4a2701026. Signed-off-by: Stijn Tintel --- 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"