Re: wlan-ng RPMs

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

 



Ralph Angenendt <ra@xxxxxxxxxxxx> writes:
>> I was wondering if anyone had tried them and how well they had worked.
>> Or shall I go first :)
>
> Well, you could always take the src.rpm which is offered on that page
> and do a rpmbuild -ba foo.src.rpm - which will build the rpms on your
> system.

When you rebuild that source RPM, you need to do three things :
1) remove the CUSTOM tag in /usr/src/linux-2.4/Makefil
2) use the --target rpmbuild parameter to set the current target arch and
3) define %linvers as the output of  'uname -r' 

This will allow you to build the kernel-wlan-ng RPMS for your current
2.4.x kernel (this is also what I've done in the past to build for
Fedora and Red Hat Enterprise Linux 3). 

I've attached a slightly modified .spec file that handles the %linvers
definition, but not the target arch. In an ideal world, it would build
for all arches. However, the .spec will rebuild the kernel every time
for the target arch, so it's not a short build process. 

FWIW, I'v used this process to build working drivers for RHEL 2.1 and 3,
Red Hat Linux 8, 9, and Fedora Core 1.

Attachment: kernel-wlan-ng.spec
Description: kernel-wlan-ng modified spec file

-- 
------------------------------------------
-- Kevin Sonney - Inside Sales Engineer --
--  Red Hat, Inc - 919.754.3700 x44112  --
--  ksonney@xxxxxxxxxx - AIM: ksonney   --
------------------------------------------
1024D/EB74 3C54 0260 6A01 705A  6F3F CD3B BAF1 4EB9 55BC
 The weakest link in any civil rights case is always the defendant.
 Imagine being a lawyer and getting a call from me. That's why I try
 to, uh, behave myself. -- Hunter S. Thompson

Attachment: pgpZmcOX13ihQ.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux