Skip to content

Commit 4b2de6b

Browse files
author
Regolith Linux
committed
Revert "Experimental changes for more robust boot support. From mvallim#47"
This reverts commit 389fc20.
1 parent 3d6ac81 commit 4b2de6b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

scripts/build.sh

+15-15
Original file line numberDiff line numberDiff line change
@@ -251,29 +251,29 @@ EOF
251251

252252
sudo /bin/bash -c "(find . -type f -print0 | xargs -0 md5sum | grep -v -e 'md5sum.txt' -e 'bios.img' -e 'efiboot.img' > md5sum.txt)"
253253

254-
sudo xorriso
255-
-as mkisofs
256-
-r \
257-
-volid "${TARGET_NAME}" \
254+
sudo xorriso \
255+
-as mkisofs \
256+
-iso-level 3 \
258257
-full-iso9660-filenames \
259-
-J -J -joliet-long \
260-
-output "$SCRIPT_DIR/$TARGET_NAME.iso" \
261-
--grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
262-
-partition_offset 16 \
263-
--mbr-force-bootable \
264-
-append_partition 2 28732ac11ff8d211ba4b00a0c93ec93b isolinux/efiboot.img \
265-
-appended_part_as_gpt \
266-
-iso_mbr_part_type a2a0d0ebe5b9334487c068b6b72699c7 \
267-
-eltorito-boot isolinux/bios.img \
258+
-volid "$TARGET_NAME" \
259+
-eltorito-boot boot/grub/bios.img \
268260
-no-emul-boot \
269261
-boot-load-size 4 \
270262
-boot-info-table \
271263
--eltorito-catalog boot/grub/boot.cat \
272264
--grub2-boot-info \
265+
--grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
273266
-eltorito-alt-boot \
274-
-e '--interval:appended_partition_2:::' \
267+
-e EFI/efiboot.img \
275268
-no-emul-boot \
276-
"."
269+
-append_partition 2 0xef isolinux/efiboot.img \
270+
-output "$SCRIPT_DIR/$TARGET_NAME.iso" \
271+
-m "isolinux/efiboot.img" \
272+
-m "isolinux/bios.img" \
273+
-graft-points \
274+
"/EFI/efiboot.img=isolinux/efiboot.img" \
275+
"/boot/grub/bios.img=isolinux/bios.img" \
276+
"."
277277

278278
popd
279279
}

0 commit comments

Comments
 (0)