projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a576ed5
)
scripts/gen_image_generic.sh: drop NOGRUB variable
author
Stijn Tintel
<stijn@linux-ipv6.be>
Tue, 11 Jul 2017 01:12:42 +0000
(
03:12
+0200)
committer
Stijn Tintel
<stijn@linux-ipv6.be>
Fri, 14 Jul 2017 02:09:16 +0000
(
04:09
+0200)
It's not used since commit
816a9b30f683b8376423ff029d40e0e4a2701026
.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
scripts/gen_image_generic.sh
patch
|
blob
|
history
diff --git
a/scripts/gen_image_generic.sh
b/scripts/gen_image_generic.sh
index 17d969b96b448262743e1c3a18e86b12e4917cac..206ba7f3fa520547ce2dc2b4c5f54b914d10b0d0 100755
(executable)
--- 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"