mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
3b1d9f74c7
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>
9 lines
341 B
Bash
Executable File
9 lines
341 B
Bash
Executable File
#!/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"
|
|
support/scripts/genimage.sh -c "$BINARIES_DIR/genimage-efi.cfg"
|