detecting i386 or x86_64 in kickstart

Klaus Steden klaus.steden at thomson.net
Mon Feb 19 15:43:06 UTC 2007


> Binand, when you ask "detect" 64-bitness in a kickstart, do you mean in
> the initial options to determine a repo to use, or in %pre / %post?  If
> the latter, `uname -i` should suffice.
> 
Sadly, that won't work, since 'uname -i' will only report on what the
architecture the kernel is ... you'd have to examine /proc/cpuinfo for the
complete story (which is what started this thread I think).

Klaus




More information about the Kickstart-list mailing list