sys-kernel/coreos-kernel: Tighten dependencies to ensure working initrd

In particular, sys-fs/lvm2 includes dmsetup, and systemd will fail to
recognise /dev/mapper/usr if that is built without udev support.

This is not a problem in CI, but a fresh SDK will have board packages
installed without their final USE flags in place due to cyclic
dependencies.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-07-03 16:55:07 +01:00
parent 1c3886329d
commit 617decbbc3
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -37,10 +37,12 @@ DEPEND="
sys-apps/shadow sys-apps/shadow
sys-apps/systemd[cryptsetup] sys-apps/systemd[cryptsetup]
sys-apps/seismograph sys-apps/seismograph
sys-apps/util-linux sys-apps/util-linux[cryptsetup,udev]
sys-block/open-iscsi sys-block/open-iscsi
sys-fs/btrfs-progs sys-fs/btrfs-progs
sys-fs/cryptsetup[udev]
sys-fs/e2fsprogs sys-fs/e2fsprogs
sys-fs/lvm2[udev]
sys-fs/mdadm sys-fs/mdadm
sys-fs/xfsprogs sys-fs/xfsprogs
>=sys-kernel/bootengine-0.0.38-r37:= >=sys-kernel/bootengine-0.0.38-r37:=