more test fixes
This commit is contained in:
@@ -198,7 +198,8 @@ ok "squashfs: $(du -sh "${ISO_DIR}/LiveOS/rootfs.img" | cut -f1)"
|
|||||||
|
|
||||||
# --- Create EFI boot image ---------------------------------------------------
|
# --- Create EFI boot image ---------------------------------------------------
|
||||||
info "Creating EFI boot image..."
|
info "Creating EFI boot image..."
|
||||||
ESP_IMG="${BUILD_DIR}/efiboot.img"
|
# efiboot.img MUST be inside ISO_DIR so xorriso can find it via -e flag
|
||||||
|
ESP_IMG="${ISO_DIR}/efiboot.img"
|
||||||
ESP_SIZE=8192 # 8MB
|
ESP_SIZE=8192 # 8MB
|
||||||
dd if=/dev/zero of="${ESP_IMG}" bs=1K count=${ESP_SIZE} 2>/dev/null
|
dd if=/dev/zero of="${ESP_IMG}" bs=1K count=${ESP_SIZE} 2>/dev/null
|
||||||
mkfs.fat -F 12 "${ESP_IMG}" >/dev/null
|
mkfs.fat -F 12 "${ESP_IMG}" >/dev/null
|
||||||
@@ -215,7 +216,7 @@ xorriso -as mkisofs \
|
|||||||
-rational-rock \
|
-rational-rock \
|
||||||
-volid "${ISO_LABEL}" \
|
-volid "${ISO_LABEL}" \
|
||||||
-eltorito-alt-boot \
|
-eltorito-alt-boot \
|
||||||
-e "$(basename "${ESP_IMG}")" \
|
-e "efiboot.img" \
|
||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-isohybrid-gpt-basdat \
|
-isohybrid-gpt-basdat \
|
||||||
-append_partition 2 0xef "${ESP_IMG}" \
|
-append_partition 2 0xef "${ESP_IMG}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user