[source] scripts/gen_image_generic.sh: drop NOGRUB variable

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 13 23:47:04 PDT 2017


stintel pushed a commit to source.git, branch master:
https://git.lede-project.org/6a8cbc08c0ffb72a698078ff18eadacefe5b8772

commit 6a8cbc08c0ffb72a698078ff18eadacefe5b8772
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue Jul 11 03:12:42 2017 +0200

    scripts/gen_image_generic.sh: drop NOGRUB variable
    
    It's not used since commit 816a9b30f683b8376423ff029d40e0e4a2701026.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 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 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"



More information about the lede-commits mailing list