- 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:
@@ -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 ;
|
||||
|
||||
@@ -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-])
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user