detecting i386 or x86_64 in kickstart

Jason Kohles email at jasonkohles.com
Fri Jan 26 14:48:02 UTC 2007


On Jan 25, 2007, at 6:07 PM, Jason Edgecombe wrote:

> John Summerfield wrote:
>> Jason Edgecombe wrote:
>>> Hi,
>>>
>>> I would like to have a unified kickstart file for both my i386  
>>> and x86_64 installs. So I have two questions:
>>>
>>> 1. Is there some way to detect whether the processor is 32/64 bit  
>>> in a %pre script?
>> See /proc/cpuinfo
>>
>>> 2. Will the 32-bt installer install the 64bit rpms if I point it  
>>> at a 64bit install tree?
>>
>> I'm Doubtful, but try it. What's the cost of a failure?
>>
>>
> I figured /proc/cpuinfo would be the ticket, but I have no clue  
> what to look for. Where can I find the docs for all of the info in / 
> proc/cpuinfo?
>
'uname -i' is probably a better option than digging through cpuinfo.

-- 
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20070126/00a6e804/attachment.htm>


More information about the Kickstart-list mailing list