>> Wouldn't it be reasonable to bless both the file and the directory?
>
> Hi,
>
> Actually, I think the correct handling is to first bless a boot
> directory (storing the directory id in header), then bless a boot file
> (add +tbxi attribute), that's why the bless command in OSX needs needs
> both --folder and --file option.
AFAIK --file has no effect for intel macs.
>
>>
>>> intelmacbless and ppcmacbless both accepting file as an argument. First one
>>> updates finderInfo[1] and the second one updates finderInfo[0] and sets
>>> filetype of given file to tbxi and if any other file has the type tbxi in
>>> the same directory then change it to any other value (e.g. tbxj)
>>
>> Couldn't the bless command check the machine type of the file and
>> change file type on ppc files and bless the file for i386 files?
>>
>> It's OK if the command has parameters that specify what to do and are
>> explained in the help but it should just do the right thing when you
>> specify the file to bless.
>>
>> Would it be possible to make an i386+ppc efi boot CD this way? Would
>> the i386 grub boot on 64bit systems or are two CDs needed for i386 and
>> amd64?
>
> Yeah, osx support fat binaries that contains code from multiple architecture.
>
In the case of OFW (and not EFI) boot for ppc macs You can (and have
to) specify a completely different file. OSX bootable disks and
partitions do it that way
> --
> Bean
>
> gitgrub home: http://github.com/grub/grub/
> my fork page: http://github.com/bean123/grub/
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to