Problem making module packages
Hi,
I tried to compile version 0.9.0rc7-2 of alsa-source with make-kpkg, but I didn't expect this result :
## Using kernel-package_8.020_all.deb
keats:/usr/src/linux# make menuconfig
keats:/usr/src/linux# MODULE_LOC="~/modules"
keats:/usr/src/linux# make-kpkg clean
..
..
keats:/usr/src/linux# make-kpkg --revision=keats+1.4 kernel_image
..
..
..
..
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/Documentation/DocBook'
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20'
rm -f stamp-build
touch stamp-image
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
## So it builds correctly
keats:/usr/src/linux# make-kpkg --revision=keats+1.4 modules_image
for module in ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.4.20" KSRC="/usr/src/linux" \
KMAINT="Dimitri Chausson" KEMAIL="tri2000@gmx.net" \
KDREV="keats+1.4" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
fi; \
done
## Don't know why it doesn't do anything here
## If I move ~/modules to /usr/src/, it processes but just produce a file alsa-modules-2.4.20_0.9.0rc7-2_i386.deb (without my local version number) in /usr/src/modules instead of alsa-modules-2.4.20_0.9.0rc7-2+keats+1.4_i386.deb in /usr/src
## Am I setting the MODULE_LOC environment variable the wrong way ??
Maybe some of you can tell me where the problem is.
Thanks,
Dimitri
Reply to: