Mailinglist Archive: opensuse-kernel (48 mails)

< Previous Next >
Re: [opensuse-kernel] where is -factory's kernel-xen *source* ?
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Wed, 21 May 2008 16:29:33 -0400
  • Message-id: <4834862D.5030906@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

snowcrash+opensuse wrote:
hi jeff,

There is, unfortunately, no kernel-xen-source package. It's kind of a
sore spot. All the flavors, except Xen, are built from the same source
tree. There are additional patches that we apply to the Xen tree, and
then build it. As a result, they're not included in the kernel-source
package.

We do have a kernel-source.src.rpm that can be used to build the
appropriate source tree, though.

are those patches & process available/documented somewhere?

currently, trying to do a build, i'm failing ...

https://bugzilla.novell.com/show_bug.cgi?id=393142

and now, given your comments, wonder if the missing "patches" are part
of the cause ...

The patches are, yes. You can build the packages by grabbing the
kernel-source SRPM, then cd'ing to %_sourcedir
(/usr/src/packages/SOURCES, unless you've changed it) and doing rpmbuild
- -bb kernel-xen.spec. That will apply the right set of patches and you'll
end up with a xen kernel.

To build a xen kernel-source, do this:
echo "xen" > extra-symbols
rpmbuild -bb kernel-source.spec

To verify it's building the correct tree, make sure there's something
like "Architecture symbol(s): x86_64 xen" in the first 10 lines of output.

This will create a kernel-source package, but it will be fundamentally
incompatible with the shipping kernel-source package. It's *definitely*
a goal of ours to eliminate the need for multiple source packages for
this very reason.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkg0hi0ACgkQLPWxlyuTD7L8vACfcu8PQLj0rrpUpW6+237FxSEC
0yEAoKcljtN6188+DC1A8K0lZdrhd2lV
=2oTP
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups