macaroni-os / mark-issues

Macaroni Automated Repositories Kit Issues
4 stars 1 forks source link

[core-kit] lvm and grub are having an argument about `static` again #4

Open cuantar opened 4 months ago

cuantar commented 4 months ago
!!! The ebuild selected to satisfy ">=sys-fs/lvm2-2.02.45" has unmet requirements.
- sys-fs/lvm2-2.03.25::core-kit USE="lvm readline static-libs udev -sanlock (-selinux) -static -thin -valgrind"

  The following REQUIRED_USE flag constraints are unsatisfied:
    static-libs? ( static )

  The above constraints are a subset of the following complete expression:
    static? ( !udev ) static-libs? ( static ) thin? ( lvm )

(dependency required by "sys-boot/grub-2.12::core-kit[device-mapper]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
cuantar commented 4 months ago

I think grub wants static libs so it can boot directly into lvm rootfs without an initramfs. IIRC the lvm ebuild produces some, with .static extensions... Grub should be able to use those.

cuantar commented 3 months ago

This can be resolved locally by turning off static and static-libs for everything affected.

cuantar commented 3 months ago

image This seems fixed for me, by the changes in the mix-ins from macaroni-os/kit-fixups#30.