[Voyage-linux] Re: Compiling kernel and missing control info
Merul Patel
(spam-protected)
Tue Oct 27 06:00:01 HKT 2009
Thank you to those who've emailed me directly.
I notice that simply editing the Makefile to specify EXTRAVERSION = -voyage,
and then running:
make-kpkg --rootcmd fakeroot --initrd kernel-image
generates the .deb packages fine. There is clearly a way to generate the
debian/control file from the debian/Control file, and any pointers would be
appreciated. I did try editing the debian/control file manually, but am
unsure of the conventions.
BR
Merul
2009/10/26 Merul Patel <merul.patel at gmail.com>
> I'm trying to recompile the 2.6.26 voyage kernel and enable HFS+ support (I
> want to mount a Mac partition) but I'm running into an odd issue with the
> Debian control file.
>
> I've installed the kernel source from the deb package at
> http://www.voyage.hk/dists/0.6/linux/linux-source-2.6.26-voyage_6.0-3_all.deb,
> and manually pulled the kernel config file from
> http://mirror.voyage.hk/download/kernel_config/config-2.6.26-486-voyage_6.0-3
>
> As I'm compiling on the target box (an Alix board) with limited free space,
> I've extracted the kernel source on /tmp/sd and symlinked from /usr/src.
>
> I then ran 'make menuconfig' and enabled built-in kernel support for HFS+
> filesystems.
>
> When I run:
>
> make-kpkg --revision="6.0-3Custom" --append-to-version "-486-voyage"
> kernel-image --rootcmd fakeroot --initrd
>
> The compilation completes successfully (as does a plain 'make') but the deb
> packaging fails with:
>
> dpkg-gencontrol -DArchitecture=i386 -isp \
> -plinux-image-2.6.26-486-voyage
> -P/usr/src/linux/debian/linux-image-2.6.26-486-voyage/
> dpkg-gencontrol: error: package linux-image-2.6.26-486-voyage not in
> control info
> make[2]: *** [debian/stamp/binary/linux-image-2.6.26-486-voyage] Error 255
> make[2]: Leaving directory `/tmp/sd/linux-source-2.6.26-voyage'
> make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.26-486-voyage] Error
> 2
> make[1]: Leaving directory `/tmp/sd/linux-source-2.6.26-voyage'
> make: *** [kernel-image] Error 2
>
> I saw a similar post in the archives (
> http://www.mail-archive.com/voyage-linux@list.voyage.hk/msg03244.html),
> but with no solution to the actual issue with the control file. Any
> suggestions?
>
> I've also tried this on a virtual machine with the same result.
>
> Thanks in advance,
>
> Mez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20091026/a8f25680/attachment-0002.html>
More information about the Voyage-linux
mailing list