Recent Fedora Core kernels (plus my SPEC file for 2.6.8-1.541 with Athlon support)
Matias Feliciano
feliciano.matias at free.fr
Mon Sep 27 09:36:44 UTC 2004
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 :-)).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040927/85d1ea52/attachment.sig>
More information about the fedora-devel-list
mailing list