[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Specifying arch for rpm -ba



I thought I knew how to do this but this is the first time I have tried 
building a different target under rpm 4.  I can't believe that it does not 
work -- just that I don't know how and documentation on rpm 4 is skimpy.

Anyway, I am trying to rebuild the kernel in various ix86 flavors.

First I did:

rpm -ba --clean kernel-2.2.spec

Everything build OK.

Then I did:

rpm -ba --target i686 --clean kernel-2.2.spec

and I get:

Building target platforms: --clean
Building for target --clean
File is not a regular file: /usr/src/redhat/SPECS/linux

I also tried:

rpm -ba --clean --target i686 kernel-2.2.spec

and I get:

Building target platforms: --
Building for target --
File is not a regular file: /usr/src/redhat/SPECS/i686

Any hints??

Gene





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []