From 7e3d6dcede5749fe6a1adef4e673a9dde7703b7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Feb 2024 11:45:20 +0000 Subject: gentoo auto-resync : 02:02:2024 - 11:45:20 --- sys-apps/systemd/systemd-255.2-r2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sys-apps/systemd/systemd-255.2-r2.ebuild') diff --git a/sys-apps/systemd/systemd-255.2-r2.ebuild b/sys-apps/systemd/systemd-255.2-r2.ebuild index 058e82af1331..85965aed1d27 100644 --- a/sys-apps/systemd/systemd-255.2-r2.ebuild +++ b/sys-apps/systemd/systemd-255.2-r2.ebuild @@ -29,7 +29,7 @@ else fi fi -inherit bash-completion-r1 linux-info meson-multilib pam python-single-r1 +inherit bash-completion-r1 linux-info meson-multilib optfeature pam python-single-r1 inherit secureboot systemd toolchain-funcs udev DESCRIPTION="System and service manager for Linux" @@ -505,6 +505,15 @@ pkg_postinst() { eerror "systemd again." eerror fi + + if use boot; then + optfeature "automatically installing the kernels in systemd-boot's native layout and updating the bootloader configuration" \ + "sys-kernel/installkernel[systemd-boot]" + fi + if use ukify; then + optfeature "automatically generating an unified kernel image on each kernel installation" \ + "sys-kernel/installkernel[ukify]" + fi } pkg_prerm() { -- cgit v1.2.3