Hi Géraud, On Wed, 2006-10-18 at 17:15 +0200, Géraud Meyer wrote: > # tar xjf linux-source-2.6.18.tar.bz2 && cd linux-source-2.6.18 > # cp /boot/conig-2.6.18 .config > # make oldconfig && make-kpkg clean > [...] > # make-kpkg --revision=2.6.18.20061018 --initrd > --added-patches=grsecurity2 kernel_image The bug is in kernel-package. Your problem is the following. You get a kernel configuration, grsecurity enabled or not, doesn't matter. You run make oldconfig _before_ grsecurity is applied; so your .config will be without it. Then make-kpkg applies grsecurity2 and thinks it's fine to just build the kernel. No, it isn't as make oldconfig runs and asks for differences, for grsecurity2 options. So it isn't run cleanly, hence the error. Workaround:
make-kpkg clean /usr/src/kernel-patches/all/apply/grsecurity2 cp /boot/conig-2.6.18 .config make oldconfig make-kpkg --revision=2.6.18.20061018 --initrd kernel_image Done. The make-kpkg --revision=2.6.18.20061018 --initrd --added-patches=grsecurity2 kernel_image may be good aswell. If you need your way, please reassign it to kernel-package or I will do it. Thanks, Laszlo/GCS
signature.asc
Description: This is a digitally signed message part

