summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2017-07-11 03:12:42 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2017-07-14 04:09:16 +0200
commit6a8cbc08c0ffb72a698078ff18eadacefe5b8772 (patch)
treed01cae9578a3f26cbf5c578beb172e0e4066bcf1
parenta576ed5437b00e0984712c6f38f8c11b0ed15b48 (diff)
downloadmtk-20170518-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.zip
mtk-20170518-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.tar.gz
mtk-20170518-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.tar.bz2
scripts/gen_image_generic.sh: drop NOGRUB variable
It's not used since commit 816a9b30f683b8376423ff029d40e0e4a2701026. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rwxr-xr-xscripts/gen_image_generic.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/gen_image_generic.sh b/scripts/gen_image_generic.sh
index 17d969b..206ba7f 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"