Merge "iso element to use 'search --label' for grub"
This commit is contained in:
commit
2d80e53186
@ -20,7 +20,7 @@ set -o pipefail
|
|||||||
function build_efiboot_img() {
|
function build_efiboot_img() {
|
||||||
|
|
||||||
cat > "$TMP_BUILD_DIR/grub-embedded.cfg" << END_CONFIG
|
cat > "$TMP_BUILD_DIR/grub-embedded.cfg" << END_CONFIG
|
||||||
search --file --set=root /vmlinuz
|
search --set=root --label VMEDIA_BOOT_ISO
|
||||||
set prefix=(\$root)/EFI/BOOT/
|
set prefix=(\$root)/EFI/BOOT/
|
||||||
END_CONFIG
|
END_CONFIG
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ END_CONFIG
|
|||||||
|
|
||||||
# Create the ISO
|
# Create the ISO
|
||||||
echo "Generating the ISO"
|
echo "Generating the ISO"
|
||||||
$MKISOFS -r -V "INSTALL_IMAGE" -cache-inodes -J -l \
|
$MKISOFS -r -V "VMEDIA_BOOT_ISO" -cache-inodes -J -l \
|
||||||
-b isolinux/isolinux.bin -no-emul-boot \
|
-b isolinux/isolinux.bin -no-emul-boot \
|
||||||
-boot-load-size 4 -boot-info-table \
|
-boot-load-size 4 -boot-info-table \
|
||||||
-eltorito-alt-boot -e isolinux/efiboot.img \
|
-eltorito-alt-boot -e isolinux/efiboot.img \
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user