gpg error compiling new kernel (2.6.4)
Debian woody. Curren kernel 2.4.18-bf2.4
I got my kener sources from: deb http://www.backports.org/debian stable kernel-source-2.6.4 deb-src http://www.backports.org/debian stable kernel-source-2.6.4 After I did... su then enter root password # apt-get install kernel-package kernel-source-2.4.18 expectk # cd /usr/src/ # bunzip2 kernel-source-2.4.18.tar.bz2 # tar xvf kernel-source-2.4.18.tar # ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux # cd linux # make xconfig select kernel modules # make-kpkg -rev Qucho.1 kernel_image Here I got the error: dpkg-deb: building package `kernel-headers-2.6.4' in `../kernel-headers-2.6.4_Qucho.1_i386.deb'. rm -rf debian/tmp-headers touch stamp-headers make[2]: Leaving directory `/usr/src/kernel-source-2.6.4' make[1]: Leaving directory `/usr/src/kernel-source-2.6.4' signfile kernel-source-2.6.4_Qucho.1.dsc gpg: skipped `Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>': secret key not available gpg: [stdin]: clearsign failed: secret key not available make: *** [stamp-buildpackage] Error 2 What in heavens this gpg error means ? |
I think its cause your building a header package. If you want to build a new kernel, download it from kernel.org, or wait until it gets released to unstable. In woody you wont be able to run a 2.6.* kernel, as woody does not have module-init-tools.
|
well.. i am a newbie... but... is to my understanding I was compiling from source not headers.
Notice I used my apt-get install with a source package. The creation of the headers files as I understand is just part of the whole proccess. Now..gpg is the GNU program for managment of encrypting and signature keys. If I am not mistaken. What I dont understand is how this is affecting my compilation. I wonder if the source files are corrupted or the signature deos not match ?? has to do my my personal gpg keys ? <sigh> :( |
Well... put it this way. I've never had to build the headers. If you do, then i guess i've built my last... 20 kernels wrong.
|
install kernel headers if you don't have it.
make-kpkg --revision=custom.1 kernel_image modules_image you can simply do make && make modules_install cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.4 ln -s /boot/vmlinuz-2.6.4 / vim /etc/lilo.conf lilo reboot ---------------------------------------------------------------------------------- don't forget to apt-get install modules-init-tools |
Re: gpg error compiling new kernel (2.6.4)
Quote:
Asumming the 2.4.18's in the lines are typos the commands would be right but you are not the recommended user when doing them except for the install of the actual kernel source there is no need to be root when doing any of the other steps you should be in your normal user account after the kernel install. Quote:
Quote:
Quote:
According to my reading of the debsign man page it looks like you somehow have turned on the gpg package signing in the file /etc/devscripts.conf in this section here. Code:
##### debsign Code:
Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf> And as has already been mentioned install a backport of the module-init-tools or that 2.6 kernel will never boot when you get it compiled. |
Actually, it will boot, however, modules will NOT work.
|
All times are GMT -5. The time now is 11:49 AM. |