Re: [installer-dev] Install only on i386?
Re: [installer-dev] Install only on i386?
- Subject: Re: [installer-dev] Install only on i386?
- From: Bill Coderre <email@hidden>
- Date: Thu, 1 Nov 2007 15:14:48 -0700
On Nov 1, 2007, at 2:43 PM, Alexander von Below wrote: this must be something easy that I have overlooked, but what is the best way to restrict installation to a certain processor architecture (i.e. i386)?
If you are 10.4 and later, and using a Distribution file, you can just do this:
<options hostArchitectures = 'i386' />
If you have to support 10.3, you can ask SYSCTL for hw.byteorder and verify that it is '1234', which is Intel byte-order.
Note that if the user launches the installer under Rosetta, these tests may in fact decide that the Mac is a PPC. You might wish to write a "don't go like that" technote.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden