[opensuse-buildservice] how to install the right kernel

Hi, I see that usually there are no kernels installed on OBS machines. And they are running different flavours (xen, default, ...) Is there an easy way to BuildRequire the kernel rpm which matches the running kernel (if such rpm exists at all)? cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Mittwoch, 21. Mai 2014, 15:54:04 wrote Ruediger Meier:
Hi,
I see that usually there are no kernels installed on OBS machines. And they are running different flavours (xen, default, ...) Is there an easy way to BuildRequire the kernel rpm which matches the running kernel (if such rpm exists at all)?
Yes, we have a mechanism for that, but our current base distros are not yet prepared for it. Check for example the Kernel:HEAD project, when you build against the QA repo you get the kernel from that project. To build your own kernel, you need to clone the kernel-obs-build package in your project, built it and add the following to prjconf: VMinstall: kernel-obs-build OBS will use that kernel binary then, either for KVM or XEN dependending on the build host. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany

Hello, It seems some red hat 6 devel (fftw-devel, lapack-devel) packages are missing from the public obs instance at build.opensuse.org. I get the message "nothing provides lapack-devel" lapack-devel (3.2.1-4.el6) from the, although googling around shows this one should exist as like every other rpm distros which is annoying, only the "lapack" lib package is available, I had to manually disable dependency on lapack-devel for rhel6, which is ugly. Weirder, I also get the message "nothing provides fftw-devel" but only on i586 ; it is there for x86_64 (3.2.1-3.1.el6): https://build.opensuse.org/project/monitor/science:openturns Did someone experienced similar problems building packages for red hat ? -- Julien Schueller Phimeca Engineering www.phimeca.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Mittwoch, 21. Mai 2014, 16:36:39 wrote Julien Schueller:
Hello,
It seems some red hat 6 devel (fftw-devel, lapack-devel) packages are missing from the public obs instance at build.opensuse.org.
Most likely they are only distributed via RHN, but we have no permission to make them available. You just want to build against ScientificLinux or CentOS instead. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany

----- Mail original -----
De: "Adrian Schröter" <adrian@suse.de> À: opensuse-buildservice@opensuse.org Cc: "Julien Schueller" <schueller@phimeca.com> Envoyé: Mercredi 21 Mai 2014 16:54:51 Objet: Re: [opensuse-buildservice] missing rhel6 packages on build.opensuse.org instance
On Mittwoch, 21. Mai 2014, 16:36:39 wrote Julien Schueller:
Hello,
It seems some red hat 6 devel (fftw-devel, lapack-devel) packages are missing from the public obs instance at build.opensuse.org.
Most likely they are only distributed via RHN, but we have no permission to make them available.
You just want to build against ScientificLinux or CentOS instead.
--
Adrian Schroeter email: adrian@suse.de
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
Ok, thank you. -- Julien Schueller Phimeca Engineering www.phimeca.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Julien Schueller
-
Ruediger Meier