Le lun 27/09/2004 Ã 11:03, Arjan van de Ven a Ãcrit : > On Mon, Sep 27, 2004 at 10:52:26AM +0200, Matias Feliciano wrote: > > It will be good if "rpmbuild -bb --target noarch kernel-2.6.spec" and > > "rpmbuild -bp --target noarch kernel-2.6.spec" provide the same source > > tree. > > it's not entirely reasonable to expect that; just like kernel-sourcecode > isn't identical. > > > crypto/signature/key.h is not generated : > > I don't see this as a problem; the file that does exist is supposed to be > valid enough for building your own kernel. It's not : const int ksign_def_public_key_size = 0; /* automatically generated by bin2hex */ static unsigned char ksign_def_public_key[] __initdata = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; > > configs/kernel-2.6.8-i586-smp.config | 12 > > configs/kernel-2.6.8-i586.config | 12 > > configs/kernel-2.6.8-i686-smp.config | 12 > > configs/kernel-2.6.8-i686.config | 12 > > configs/kernel-2.6.8-ia64.config | 12 > > configs/kernel-2.6.8-ppc.config | 10 > > configs/kernel-2.6.8-ppc32dy4.config | 10 > > configs/kernel-2.6.8-ppc64.config | 8 > > configs/kernel-2.6.8-ppc64iseries.config | 8 > > configs/kernel-2.6.8-ppc8260.config | 10 > > configs/kernel-2.6.8-ppc8560.config | 10 > > configs/kernel-2.6.8-s390.config | 10 > > configs/kernel-2.6.8-s390x.config | 10 > > configs/kernel-2.6.8-x86_64-smp.config | 12 > > configs/kernel-2.6.8-x86_64.config | 12 > > make oldconfig reorders stuff somewhat. yawn :) > In addition the kernel-sourcecode configs are not the configs used during > binary rpm build (for example the kernel-sourcode configs turn things like > generating debuginfo into binaries since while the rpm build will strip this > properly, people who build their own generally don't and end up with HUGE > binary files which gives problems in several other places) > --- linux-2.6.8-1.541.admin/configs/kernel-2.6.8-i686.config 2004-09-27 10:15:05.000000000 +0200 +++ linux-2.6.8/configs/kernel-2.6.8-i686.config 2004-09-27 10:21:54.000000000 +0200 @@ -49,8 +49,8 @@ # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y # CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_SIG is not set +CONFIG_MODULE_SIG=y +# CONFIG_MODULE_SIG_FORCE is not set CONFIG_KMOD=y # CONFIG_MODULE_SIG is not set. Normal, there is no key :-) It should be nice if a "make modules_install" sign modules like the .spec file do : # gpg sign the modules %if %{signmodules} for i in ` find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f` ; do sh ./scripts/modsign/modsign.sh $i mv -f $i.signed $i done %endif I know I can build the i686.rpm with my custom .config file (as I do right now :-)).
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=