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

Re: lm_sensors and alsa for _not_ custom built kernel?



Hello,

Svante Signell wrote:
> 
> Thanks for your input, the lm-sensors package now builds and installs OK.
> 
> I found that the following steps were necessary for a successful build
> and to get the correct module dependencies:
> (Are there more simple solutions available?)
> 
> Install kernel-image-2.4.18-686
> Install and unpack kernel-source-2.4.18
> Install kernel-headers-2.4.18-686
> Install lm-sensors
> Install and unpack lm-sensors-source
> cd /usr/src/kernel-source-2.4.18
> cp /boot/config-2.4.18-686 ./.config
> # Do not make config/menuconfig/xconfig
> make dep
> cd /usr/src/modules/lm-sensors
> fakeroot ./debian/rules KSRC=/usr/src/kernel-headers-2.4.18-686 KVERS=2.4.18-686 KDREV=2.4.18-4 kdist_image
> 
> With this setup also alsa-modules builds OK.
> 

I don't to see why you need the steps involving kernel-source:

Install and unpack kernel-source-2.4.18
cd /usr/src/kernel-source-2.4.18
cp /boot/config-2.4.18-686 ./.config
# Do not make config/menuconfig/xconfig
make dep

I would have expected this subset to work:

Install kernel-image-2.4.18-686
Install kernel-headers-2.4.18-686
Install and unpack lm-sensors
cd /usr/src/modules/lm-sensors
fakeroot ./debian/rules KSRC=/usr/src/kernel-headers-2.4.18-686
KVERS=2.4.18-686 KDREV=2.4.18-4 kdist_image
Install the newly built package

Arne


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: