Use of kernel.obs.guest/initrd.obs.guest
Hi, I have an image build here: osc rbl Virtualization:Appliances:Images:Testing_x86:debian test-image-live-disk -M Disk images x86_64 It starts Qemu with [ 18s] /usr/bin/qemu-kvm ... -kernel /boot/kernel.obs.guest -initrd /boot/initrd.obs.guest I assume it does this because there is no kernel-obs-build or any other kernel (linux-generic) installed when building the test for debian I wanted to extend the testing matrix and add a test for luks (I plan to add support for luks2 in kiwi and wanted to have it really tested everywhere) When I do this the build ends with: [ 317s] [ DEBUG ]: 08:33:34 | EXEC: [cryptsetup --key-file /var/tmp/kiwi_9teoanif luksOpen /dev/mapper/loop0p2 luksRoot] [ 319s] [ 300.670200] device-mapper: table: 254:3: crypt: unknown target type Device mapper complains because the kernel or the initrd did not offer support for dm_crypt. Now the question is where does kernel.obs.guest and initrd.obs.guest come from ? How can I influence them, e.g providing an initrd that has dm_crypt as module, or a kernel that has it compiled in ... or any other solution suggestion :) Thanks much Regards, Marcus -- Public Key available via: https://keybase.io/marcus_schaefer/key.asc keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer Am Unterösch 9 Tel: +49 7562 905437 D-88316 Isny / Rohrdorf Germany -------------------------------------------------------
On Feb 15 2022, Marcus Schäfer wrote:
Now the question is where does kernel.obs.guest and initrd.obs.guest come from ?
They come from /boot on the worker host.
How can I influence them, e.g providing an initrd that has dm_crypt as module, or a kernel that has it compiled in
The only way to do that is to provide a suitable kernel-obs-build package. -- 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."
Hi,
They come from /boot on the worker host.
ok, thanks. Yes mls also told me and also that this should not be done :)
How can I influence them, e.g providing an initrd that has dm_crypt as module, or a kernel that has it compiled in
The only way to do that is to provide a suitable kernel-obs-build package.
yep, got it, thanks Some builds on build.opensuse.org makes use of the .guest concept when building for debian based distros. So it seems the buildservice maintains a kernel/initrd .guest pair on the workers under certain conditions as there is no kernel-obs-build package for this distro target. Regards, Marcus -- Public Key available via: https://keybase.io/marcus_schaefer/key.asc keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer Am Unterösch 9 Tel: +49 7562 905437 D-88316 Isny / Rohrdorf Germany -------------------------------------------------------
participants (2)
-
Andreas Schwab
-
Marcus Schäfer