Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
insatomcat committed Dec 28, 2024
1 parent 439f47a commit 520a1b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions etc_fai/fai-cd.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
else
die 11 "No grub-efi-arm64-bin installation found in NFSROOT. Aborting."
fi
@@ -392,6 +392,26 @@
@@ -392,6 +392,25 @@

echo -n "ISO image size and filename: "; du -h $isoname

Expand All @@ -23,11 +23,10 @@
+mkiso_arm64() {
+
+ echo "Writing FAI CD-ROM image to $isoname. This may need some time."
+ mkdir -p $tmp/EFI/boot/
+ cp $scratch/efiboot.img $tmp/boot/grub/efi.img
+ xorriso -as mkisofs -r \
+ -volid "$vname" -appid "$aname" \
+ -J -joliet-long \
+ -J -joliet-long \
+ -e boot/grub/efi.img -no-emul-boot \
+ -append_partition 2 0xef $scratch/efiboot.img \
+ -partition_cyl_align all \
Expand Down

0 comments on commit 520a1b1

Please sign in to comment.