Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] KVM worker setup
Am 31.10.19 um 21:41 schrieb Christian:

where does the worker know which image to use for boot and build ???

check the dist/obsworker init script:

if [ -n "$OBS_VM_KERNEL" -a "$OBS_VM_KERNEL" != "none" -a "$OBS_VM_TYPE" !=
"openstack" ] ; then

"--vm-kernel" is handled by src/backend/bs_worker and just passed on to
build.rpm's /usr/bin/build

If --vm-kernel is not passed to build, then it does some magic.

(all following applies to KVM x86/x86_64 build, have not looked at all the
other places)

If available, it will use the kernel and initrd from kernel-obs-build.rpm
(this is why this package is VMInstall:'ed in all recent distributions).
Else it will fall back to /boot/vmlinuz (which is the kernel of the obs worker

So this:


basically means "use the magic in /usr/bin/build to find a usable kernel".


Stefan Seyfried

"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages