ich hab die anleitung benutzt:
Kernel für Debian Paketsystem bauen
http://www.debianforum.de/wiki/?page=Ke ... stem+bauen
ich komm nicht weiter, da ich diese fehlermeldung bekommen habe.
hier ein auszug aus der shell:
make-kpkg clean
Code: Alles auswählen
tonitone:/usr/src/linux# make-kpkg clean
/usr/bin/make -f /usr/share/kernel-package/rules real_stamp_clean
make[1]: Entering directory `/usr/src/kernel-source-2.6.10'
test ! -f .config || cp -pf .config config.precious
test -f Makefile && \
/usr/bin/make ARCH=i386 distclean
make[2]: Entering directory `/usr/src/kernel-source-2.6.10'
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts/lxdialog
CLEAN .config include/linux/autoconf.h
make[2]: Leaving directory `/usr/src/kernel-source-2.6.10'
test ! -f config.precious || mv -f config.precious .config
test ! -f stamp-patch || /usr/bin/make -f /usr/share/kernel-package/rules unpatch_now
test -f stamp-building || test -f debian/official || rm -rf debian
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb.dist || \
mv -f scripts/package/builddeb.dist scripts/package/builddeb
test ! -e scripts/package/Makefile.dist || \
mv -f scripts/package/Makefile.dist scripts/package/Makefile
rm -f modules/modversions.h modules/ksyms.ver debian/files conf.vars scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches debian/buildinfo stamp-build stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian stamp-patch stamp-kernel-configure
rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image debian/tmp-doc
make[1]: Leaving directory `/usr/src/kernel-source-2.6.10'
Code: Alles auswählen
tonitone:/usr/src/linux# make-kpkg --revision=custom.1.0 --initrd kernel_image
Warning: You are using the initrd option, that may not
work, depending on your kernel version and architecture,
unless you have applied the initrd cramfs patch to
the kernel, or modified mkinitrd not to use cramfs by
default. The cramfs initrd patch, is included in the
Debian supplied kernel sources. New kernels on most
architectures do work fine.
By default, I assume you know what you are doing, and I
apologize for being so annoying. Should I abort[Ny]?
N
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile scripts/package/Makefile.dist && \
echo "# Dummy file " > scripts/package/Makefile)
test ! -f stamp-debian && test ! -f debian/official && \
rm -rf ./debian && mkdir ./debian
test ! -f stamp-debian && \
( test ! -f debian/official || test ! -f debian/control) && \
sed -e 's/=V/2.6.10/g' -e 's/=D/custom.1.0/g' \
-e 's/=A/i386/g' -e 's/=SA//g' \
-e 's/=L/lilo (>= 19.1) | grub, /g' -e 's/=I/initrd-tools (>= 0.1.48), /g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/kernel/g' \
/usr/share/kernel-package/Control> debian/control
test ! -f stamp-debian && test ! -f debian/official && \
sed -e 's/=V/2.6.10/g' -e 's/=D/custom.1.0/g' \
-e 's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/kernel/g' \
/usr/share/kernel-package/changelog > debian/changelog
test ! -f debian/rules && \
install -p -m 755 /usr/share/kernel-package/rules debian/rules
echo done > stamp-debian
make: *** Keine Regel vorhanden, um das Target »conf.vars«,
benötigt von »stamp-configure«, zu erstellen. Schluss.