On Sep 23 2021, Kai Liu wrote:
For example, for SLES, qemu uses the kernel and initrd under /var/cache/obs/worker/root_*/.mount/boot/kernel. But for CentOS, it uses kernel under /boot. It looks like the SLES worker even runs the exact kernel version of the target OS.
Could some one let me know how can I set my instance to run in such way?
This isn't dependent on the build worker, but on the availability of a kernel-obs-build package in the build environment, which installs /.build.kernel.kvm in the build root. If that file is present, it is used by the build script for the qemu run. See the build-vm script in the build package. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."