mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Set xorriso to generate Joliet ISO data.
This commit is contained in:
parent
41a033fe8a
commit
751684f8ac
4 changed files with 6 additions and 3 deletions
|
@ -103,6 +103,7 @@ qemu-system-x86_64 -machine q35,accel=kvm -drive format=raw,file=$TMPDISK -m 1G
|
|||
mount_tempdisk
|
||||
echo "Extracting MyDistro ISO from vdisk ..."
|
||||
cp $TMPMOUNT/Tmp/MyDistro.ISO.C ./ZealOS-MyDistro.iso
|
||||
sudo rm $TMPMOUNT/Tmp/MyDistro.ISO.C 2> /dev/null
|
||||
echo "Setting up temp ISO directory contents for use with limine xorriso command ..."
|
||||
sudo cp -rf $TMPMOUNT/* $TMPISODIR
|
||||
sudo cp limine/limine-cd-efi.bin $TMPISODIR/Boot/
|
||||
|
@ -118,7 +119,7 @@ umount_tempdisk
|
|||
sudo ls $TMPISODIR -al
|
||||
mv $TMPDISK ./ZealOS-UEFI-limine-dev.raw
|
||||
|
||||
xorriso -as mkisofs -b Boot/limine-cd.bin \
|
||||
xorriso -joliet "on" -rockridge "on" -as mkisofs -b Boot/limine-cd.bin \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
--efi-boot Boot/limine-cd-efi.bin \
|
||||
-efi-boot-part --efi-boot-image --protective-msdos-label \
|
||||
|
|
|
@ -1165,8 +1165,8 @@ Bool AHCIBootDVDProbeAll(CBlkDev *bd)
|
|||
else
|
||||
"AHCI: Did not find matching sys_compile_time at BLK %d on Port %d\n", sys_boot_blk, i;
|
||||
|
||||
"%X %X", sys_disk_uuid[0], sys_disk_uuid[1];
|
||||
AHCIAtapiBlksRead(bd, buf, 0, 1, FALSE);
|
||||
|
||||
if (!MemCompare(buf + 568, sys_disk_uuid, 16))
|
||||
{
|
||||
"AHCI: Found sys_disk_uuid at BLK 0 byte 568 on Port %d\n", i;
|
||||
|
|
|
@ -28,6 +28,7 @@ Bool ISOInit(CDrive *drive, I64 blk)
|
|||
drv_offset += (2 * DVD_BLK_SIZE + DVD_BLK_SIZE) / BLK_SIZE;
|
||||
break;
|
||||
|
||||
// case ISOT_PRI_VOL_DESC:
|
||||
case ISOT_SUPPLEMENTARY_DESC:
|
||||
de = &iso->root_dir_record;
|
||||
drive->size = iso->vol_space_size.little * bd->blk_size >> BLK_SIZE_BITS;
|
||||
|
|
|
@ -215,7 +215,8 @@ U0 KMain()
|
|||
|
||||
"Load(\"Compiler\");\n";
|
||||
Cd("/Compiler");
|
||||
Load("Compiler", LDF_SILENT);
|
||||
Load("Compiler");
|
||||
Sleep(3000);
|
||||
LBts(&sys_run_level, RLf_COMPILER);
|
||||
|
||||
DebugMode(OFF);
|
||||
|
|
Loading…
Reference in a new issue