projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf36b7c
)
board/pc/post-image-efi.sh: fail on any error
author
Carlos Santos
<unixmania@gmail.com>
Mon, 2 Dec 2019 11:18:59 +0000
(08:18 -0300)
committer
Peter Korsgaard
<peter@korsgaard.com>
Mon, 2 Dec 2019 11:47:47 +0000
(12:47 +0100)
As already done in post-build.sh, to prevent hiding errors.
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
board/pc/post-image-efi.sh
patch
|
blob
|
history
diff --git
a/board/pc/post-image-efi.sh
b/board/pc/post-image-efi.sh
index 178565f18b79995c264ef7a9d20b1f23b8f7b434..a0df70a6ab4f51c7fa50575990aaa1ba7fc3b091 100755
(executable)
--- a/
board/pc/post-image-efi.sh
+++ b/
board/pc/post-image-efi.sh
@@
-1,5
+1,7
@@
#!/bin/sh
+set -e
+
UUID=$(dumpe2fs "$BINARIES_DIR/rootfs.ext2" 2>/dev/null | sed -n 's/^Filesystem UUID: *\(.*\)/\1/p')
sed -i "s/UUID_TMP/$UUID/g" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
sed "s/UUID_TMP/$UUID/g" board/pc/genimage-efi.cfg > "$BINARIES_DIR/genimage-efi.cfg"