Package: kernel-package
Version: 10.068
Severity: normal

make-kpkg(1) says:

------------------------------------------------------------
debian: This target creates the ./debian directory, and optionally
patches the source. This is called by the configure target. You may
use this target to have the sources patched, and then manually run the
configuration step.
------------------------------------------------------------

However, make-kpkg debian seems to require that .config is present
(the same happens with --added-patches). The following source is from
the package linux-source-2.6.18:

------------------------------------------------------------
[EMAIL PROTECTED]:/usr/src$ tar jxf linux-source-2.6.18.tar.bz2
[EMAIL PROTECTED]:/usr/src$ cd linux-source-2.6.18
[EMAIL PROTECTED]:/usr/src/linux-source-2.6.18$ make-kpkg debian
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian
/usr/share/kernel-package/ruleset/minimal.mk:53: No .config file found
/usr/share/kernel-package/ruleset/minimal.mk:98: *** Please create a .config 
file.  Stop.
------------------------------------------------------------

From how I interpret the man page, it seems that make-kpkg debian
should work without a .config.

If I do a "touch .config", make-kpkg debian works. However, even with
--added-patches debian,grsecurity2, no patches are applied. I need to
do a second "make-kpkg debian" with the same parameters to have the
patches applied. Even then I'm left with an empty .config (I assume
one of the patches would provide the Debian default .config with
nearly everything compiled as modules?).

The patches I have installed:

------------------------------------------------------------
$ lskpatches
PatchID             Arch      KVers     dhkpVers    dhkp-KVers
grsecurity2         all       all       0.99.36     2.4.34 2.6.19.2 2.4.32 
2.6.16
debian              all       2.6.18    <not built using dh-kpatches>
------------------------------------------------------------

The contents of my /etc/kernel-pkg.conf, with comments stripped:
------------------------------------------------------------
maintainer := Sami Liedes
email := [EMAIL PROTECTED]
priority := Low
debian = $(version)-10.00.Custom
------------------------------------------------------------

        Sami


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kernel-package depends on:
ii  dpkg                          1.13.25    package maintenance system for Deb
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  file                          4.20-1     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.1-15 The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.6-5    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler
ii  gettext                       0.16.1-1   GNU Internationalization utilities
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.8      manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                       1.0.3-6      high-quality block-sorting file co
ii  libc6-dev [libc-dev]        2.3.6.ds1-13 GNU C Library: Development Librari

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to