Oliver Fuchs wrote:
On Thu, 05 Sep 2002, Eric Richardson wrote:Hi,I've been able to to use make-kpkg kernel-image to create a custom kernel .deb file from a kernel source package. All the modules are compiled and I tried make-kpkg modules-image but no deb file gets created. How do I create the modules deb file?On a related note, does the kernel installer create the initrd.img? preinst or postinst or ?Hi Eric, cd in your kernel-source directory (/usr/src/kernel-whatever-source). After you compiled your kernel run from here: make-kpkg --revision number modules_image
When I try this, I get the following:
wiley:/home/eric/tslinux-3-0-x86/src/kernel# make-kpkg
-rev k6.1 modules_image
for module in ; do \
if test -d $module; then
\
(cd $module;
\
if ./debian/rules
KVERS="2.4.7-timesys-3.0.108"
KSRC="/home/eric/tslinux-3-0-x86/src/kernel" \
KMAINT="Unknown Kernel
Package Maintainer"
KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
KDREV="k6.N" kdist; then
\
echo "Module $module processed
fine"; \
else
\
echo "Module $module failed.";
\
echo "Hit return to Continue?";
\
read ans; \
fi;
\
);
\
fi;
\
done