detecting i386 or x86_64 in kickstart

John Summerfield debian at herakles.homelinux.org
Thu Jan 25 21:36:55 UTC 2007


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?


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list




More information about the Kickstart-list mailing list