[...]On Wed, Aug 11, 2004 at 07:24:49PM +0200, Frédéric Massot wrote:
Frédéric Massot wrote:
In the kernel-versions file I added the line: # arch version flavour installedname suffix build-depends i386 2.6.7 386 2.6.7 - kernel-image-2.6.7_nodens.1.0
linux-kernel-di-i386-2.6# cat debian/control Source: linux-kernel-di-i386-2.6 Section: debian-installer Priority: optional Maintainer: Debian Install System Team <[EMAIL PROTECTED]> Uploaders: Joey Hess <[EMAIL PROTECTED]> Build-Depends: kernel-wedge (>= 1.19), kernel-image-2.6.7_nodens.1.0 [i386]
You shouldn't have the "_nodens.1.0" bit. That's part of the version number, not the package name.
OK
I compiled the kernel 2.6.7 with the command:
make-kpkg --initrd --append-to-version=-1-386 --revision=2.6.7-2 kernel_image modules_image
I installed the package created : kernel-image-2.6.7-1-386_2.6.7-2_i386.deb.
In the kernel-versions file I have the line: # arch version flavour installedname suffix build-depends i386 2.6.7-1 386 2.6.7-1-386 - kernel-image-2.6.7-1-386
Run the command debian/rules : linux-kernel-di-i386-2.6# ./debian/rules debian/control kernel-wedge gen-control > debian/control
linux-kernel-di-i386-2.6# cat debian/control Source: linux-kernel-di-i386-2.6 Section: debian-installer Priority: optional Maintainer: Debian Install System Team <[EMAIL PROTECTED]> Uploaders: Joey Hess <[EMAIL PROTECTED]> Build-Depends: kernel-wedge (>= 1.19), kernel-image-2.6.7-1-386 [i386]
Run the command dpkg-buildpackage:
linux-kernel-di-i386-2.6# dpkg-buildpackage
dpkg-buildpackage: source package is linux-kernel-di-i386-2.6
dpkg-buildpackage: source version is 0.62
dpkg-buildpackage: source maintainer is Joey Hess <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
dpkg-checkbuilddeps: error: control file must have at least one binary package part
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
Yes, the control file have no binary block.
I added to the control file a binary block recovered in the origin control file.
linux-kernel-di-i386-2.6# cat debian/control Source: linux-kernel-di-i386-2.6 Section: debian-installer Priority: optional Maintainer: Debian Install System Team <[EMAIL PROTECTED]> Uploaders: Joey Hess <[EMAIL PROTECTED]> Build-Depends: kernel-wedge (>= 1.19), kernel-image-2.6.7-1-386 [i386]
Package: kernel-image-2.6.7-1-386-di XC-Package-Type: udeb Provides: kernel-image, ext2-modules Architecture: i386 XB-Kernel-Version: 2.6.7-1-386 Priority: extra Description: Linux kernel binary image for the Debian installer This package contains the Linux kernel image for the Debian installer boot images. It does _not_ provide a usable kernel for your full Debian system.
Run the command dpkg-buildpackage: linux-kernel-di-i386-2.6# dpkg-buildpackage dpkg-buildpackage: source package is linux-kernel-di-i386-2.6 dpkg-buildpackage: source version is 0.62 dpkg-buildpackage: source maintainer is Joey Hess <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture is i386 debian/rules clean kernel-wedge gen-control > debian/control dh_testdir dh_clean `find modules -type l` dpkg-source -b linux-kernel-di-i386-2.6 dpkg-source: error: control file must have at least one binary package part
linux-kernel-di-i386-2.6# cat debian/control Source: linux-kernel-di-i386-2.6 Section: debian-installer Priority: optional Maintainer: Debian Install System Team <[EMAIL PROTECTED]> Uploaders: Joey Hess <[EMAIL PROTECTED]> Build-Depends: kernel-wedge (>= 1.19), kernel-image-2.6.7-1-386 [i386]
The command dpkg-buildpackage removed control file the binary block ?!!
Where is the problem?
Regards. -- ============================================== | FREDERIC MASSOT | | http://www.juliana-multimedia.com | | mailto:[EMAIL PROTECTED] | ===========================Debian=GNU/Linux===
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]