- tried making an HFS CD, doesn't boot either in qemu yet.

- add an HFS map file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28552 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-11-07 16:45:29 +00:00
parent 9a2cfc4ab1
commit 360ca11440
3 changed files with 19 additions and 4 deletions
+7 -1
View File
@@ -15,7 +15,13 @@ NotFile $(HAIKU_CD_BOOT_PPC_IMAGE_CONTAINER_NAME) ;
local extras = ofboot.b README.html ;
SEARCH on $(extras) = [ FDirName $(HAIKU_TOP) data boot_cd ] ;
BuildCDBootPPCImage $(HAIKU_CD_BOOT_PPC_IMAGE) : boot_loader_openfirmware : $(extras) ;
local hfsmaps = hfs.map ;
SEARCH on $(hfsmaps) = [ FDirName $(HAIKU_TOP) data boot_cd ] ;
BuildCDBootPPCImage $(HAIKU_CD_BOOT_PPC_IMAGE) : $(hfsmaps) : boot_loader_openfirmware : $(extras) ;
NotFile haiku-boot-cd-ppc ;
+6 -3
View File
@@ -1068,18 +1068,21 @@ actions BuildCDBootImage1
#pragma mark - CD Boot PPC Image rules
rule BuildCDBootPPCImage image : bootloader : extrafiles
rule BuildCDBootPPCImage image : hfsmaps : bootloader : extrafiles
{
Depends $(image) : $(bootloader) ;
Depends $(image) : $(extrafiles) ;
Depends $(image) : $(hfsmaps) ;
MAPS on $(image) = $(hfsmaps) ;
BuildCDBootPPCImage1 $(image) : $(bootloader) $(extrafiles) ;
}
actions BuildCDBootPPCImage1
actions BuildCDBootPPCImage1 bind MAPS
{
$(RM) $(<)
mkisofs -r -U -chrp-boot -V bootimg -o $(<) $(>[1]) $(>[2-])
#mkisofs -r -U -chrp-boot -V bootimg -o $(<) $(>[1]) $(>[2-])
mkisofs -r -hfs -part -map $(MAPS) -no-desktop -hfs-volid bootimg -V bootimg -hfs-bless . -o $(<) $(>[1]) $(>[2-])
}
+6
View File
@@ -0,0 +1,6 @@
# This mapping is needed to successfully boot and to keep macos
# from treating everything like a text file (ugly!)
#
# EXTN XLate CREATOR TYPE Comment
.b Raw 'UNIX' 'tbxi' "bootstrap"
boot_loader_openfirmware Raw 'UNIX' 'boot' "bootstrap"