Hi,
> KIWI 7 did the right thing with LV group and volumes - /dev/<group>/<volume> was the "device" used for mounting in /etc/fstab.
kiwi-ng does this as well, I did a short test build with home as volume
and you get in fstab:
/dev/systemVG/home /home ext4 defaults 1 2
> Now in KIWI 9 we have the default by-uuid.
right, for non lvm filesystems in my example this looks like this:
UUID=07f11e54-09b0-4578-9f9c-fda0a8c1a9a7 / ext4 defaults 1 1
UUID=d8e5b85b-f674-4fed-af8a-3999eba9218d /boot ext4 defaults 0 0
UUID=1326-7831 /boot/efi vfat defaults 0 0
> UUID= is not useful because after it creates the fstab and we use a KIWI hook to make the UUIDs unique.
You change the UUIDs ? I do not understand why but no matter if that
change applies to a label or a uuid it would affect the correctness
of fstab which makes me think it's not a kiwi issue ;)
> using 'devicepersistency="by-label"' is not a fix because it drops swap (see no _label_ after LABEL= below).
That sounds like a bug to me, but I can't reproduce it.
In my test I got
LABEL=SWAP swap swap defaults 0 0
I checked the code in the dracut module and found:
https://github.com/SUSE/kiwi/blob/master/dracut/modules.d/99kiwi-lib/kiwi-filesystem-lib.sh#L81
So swap is always created with a label and if that fails it would
be a fatal exception leading to an exception at boot time. The
result of an entry with no label can't happen in that case
That brings me to the question; Do you still use the oemboot code with
the custom kiwi initrd on first boot and not dracut ? Meaning do you
have <type ... boot="oemboot/..."> in your image description ?
I need to understand which boot code is in use to get the
right code path for a fix
Thanks
Regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE Linux GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
HRB: 21284 (AG Nürnberg) Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
http://www.suse.de
-------------------------------------------------------