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
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.
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
buildservice@lists.opensuse.org