-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Sealey wrote:
Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff Mahoney wrote:
Oh, actually, you can remove this chunk entirely from kernel-default.spec. It takes the release number from the installed kernel-source package.
%if ! %using_buildservice BuildRequires: kernel-dummy %endif
I was already doing this in my current stuff, although I was told by some SUSE guys that this was required for BS (obviously it's not).
The whole kernel-dummy thing is really weird and I don't really understand why it's needed anyway.
The confusion arises because there are multiple build systems now. There used to be only one internal build system. Then, a few years ago, the openSUSE Build Service was built. Recently, we have an internal version of that as well. The "new" build systems can handle release number synchronization between related packages and two-factor release numbers, like "1.14". The "old' build system couldn't handle synchronization and only supported single-factor release numbers, like "13". kernel-dummy is a way to "fake" synchronization. The kernel-dummy package is built first, and then *all* of the other packages inherit its release number via some black magic you don't want to know about. The distributions are now build using the "new" build system, but we still use the old one for building kernels for testing by customers. So, it's still needed for that. Eventually it will go away. Without the release number synchronization, you could end up with things like: kernel-source-2.6.27-184 kernel-default-2.6.27-139 kernel-syms-2.6.27-167 They would all be based on the same code, but you'd have no way of knowing that. You could also install a new kernel-source, but have no obvious way of knowing that they're NOT based on the same code. So, we do a bit of juggling to make sure all the release numbers match up and make those relationships obvious. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkluRUQACgkQLPWxlyuTD7Lv7wCgm48S7pMxH+DKWO/EiZ3+UrIp gv4AniSqhbdR6ctoU9Guo6gJ1GYD9VSq =fJZF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org