Actually, all the rpmbuild does from my understanding is to patch the
stock 2.6.9 kernel with the 100s of RHEL-specific patches that make the
kernel an RHEL kernel.  You then have to run make config (or whatever)
and finally run make.

On Wed, 20 Sep 2006 13:30:33 +0100, "Antoine Martin"
<[EMAIL PROTECTED]> said:
> > then tried the following:
> > 
> > # cd /usr/src/redhat/SPECS
> > # rpmbuild -ba --target=um kernel-2.6.spec
> > 
> > which gave me the following:
> > 
> > Building target platforms:um
> > Building for target um
> > error: Architecture is not included: um
> > 
> > So I then decided to try your suggestion:
> > 
> > 
> > # cd /usr/src/redhat/SPECS
> > # rpmbuild -ba --target=i686 kernel-2.6.spec
> > ..
> > 
> Doesn't this do a make in the kernel source tree?
> If so, the symlinks will be wrong and whatever you do afterwards with
> ARCH=um is not going to fix this. A clean or mrproper might.
> Then copy the (backup of) config file, and do a ARCH=um oldconfig.
> 
> my 2p
> 
> Antoine
> 
-- 
  Mathew Brown
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Send your email first class


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to