diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-07-11 03:12:42 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-07-14 04:09:16 +0200 |
commit | 6a8cbc08c0ffb72a698078ff18eadacefe5b8772 (patch) | |
tree | d01cae9578a3f26cbf5c578beb172e0e4066bcf1 /scripts | |
parent | a576ed5437b00e0984712c6f38f8c11b0ed15b48 (diff) | |
download | openwrt-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.tar.gz openwrt-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.tar.bz2 openwrt-6a8cbc08c0ffb72a698078ff18eadacefe5b8772.zip |
scripts/gen_image_generic.sh: drop NOGRUB variable
It's not used since commit 816a9b30f683b8376423ff029d40e0e4a2701026.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_image_generic.sh | 2 |
1 files changed, 0 insertions, 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" |