On 2002-12-25(Wed) 04:16:21 -0600, Lonnie Borntreger wrote: > > When I give the command: > > rpmbuild --rebuild --target=athlon kernel-2.4.20.2mdk-1-1mdk.src.rpm > > the process crashes after a couple of minutes... > > Is this the correct command? I have also tried using > > --target=athlon-gnu-linux > > with the same results :(
You may need to rearrange the options, with --target first, followed by (re)build options (such as -bb, -ba, --rebuild), and finally the --with/without options. Not confirmed all combination of options, but with "-ba" and "--target", this worked for me. > Here's what I do. > 1) create a file called ~/.rpmrc with the following: > buildarchtranslate: athlon: athlon > buildarchtranslate: i686: athlon > buildarchtranslate: k6: athlon > buildarchtranslate: i586: athlon > buildarchtranslate: i486: athlon > buildarchtranslate: i386: athlon > > 2) Build using: > rpm --rebuild --with smp --with source --without secure --without > enterprise --without BOOT --without doc > kernel-2.4.20.2mdk-1-1mdk.src.rpm -- Abel Cheung GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc
msg84494/pgp00000.pgp
Description: PGP signature
