profiles/coreos: move gnuefi systemd USE flag to target

SDK bootstrap is failing with:

  Message: sbat-distro (from ID):

  ../systemd-stable-250.3/src/boot/efi/meson.build:189:24: ERROR: Problem encountered: Required sbat-distro option not set and autodetection failed

The gnuefi USE flag controls whether bootctl and systemd-boot are built, but we
only need those on the target. Currently the USE flag is set for SDK as well,
so move it to coreos/targets/generic.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2022-02-16 07:55:20 +01:00
parent 330a7461fb
commit 5228888a5c
2 changed files with 5 additions and 6 deletions

View File

@ -28,10 +28,9 @@ net-analyzer/nmap ncat -system-lua
# removes mta dependencies
app-admin/sudo -sendmail
# use lzma which is the default on non-gentoo systems, use gnuefi for
# bootctl, enable selinux, disable hybrid cgroup as we use the unified
# mode now
sys-apps/systemd build curl idn lzma gnuefi selinux -cgroup-hybrid
# use lzma which is the default on non-gentoo systems, enable selinux,
# disable hybrid cgroup as we use the unified mode now
sys-apps/systemd build curl idn lzma selinux -cgroup-hybrid
net-libs/libmicrohttpd -ssl
# disable kernel config detection and module building

View File

@ -19,8 +19,8 @@ sys-libs/ncurses minimal
sys-libs/pam -berkdb audit
sys-libs/gdbm berkdb
# enable journal gateway and container features
sys-apps/systemd audit importd http nat
# enable journal gateway, bootctl and container features
sys-apps/systemd audit gnuefi importd http nat
# epoll is needed for systemd-journal-remote to work. coreos/bugs#919
net-libs/libmicrohttpd epoll