diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-30 13:56:53 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-02-02 07:16:11 +0100 |
commit | cd545283333e436e441b7368381e4b0c252fde3a (patch) | |
tree | 3c8e08951593c32207527d98d55d30e6deebb972 | |
parent | sys-apps/systemd: add installkernel as optfeature (diff) | |
download | gentoo-cd545283333e436e441b7368381e4b0c252fde3a.tar.gz gentoo-cd545283333e436e441b7368381e4b0c252fde3a.tar.bz2 gentoo-cd545283333e436e441b7368381e4b0c252fde3a.zip |
sys-apps/systemd-utils: add installkernel as optfeature
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r-- | sys-apps/systemd-utils/systemd-utils-254.5-r2.ebuild | 15 | ||||
-rw-r--r-- | sys-apps/systemd-utils/systemd-utils-254.7.ebuild | 15 | ||||
-rw-r--r-- | sys-apps/systemd-utils/systemd-utils-254.8.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/systemd-utils/systemd-utils-254.9.ebuild | 13 |
4 files changed, 46 insertions, 10 deletions
diff --git a/sys-apps/systemd-utils/systemd-utils-254.5-r2.ebuild b/sys-apps/systemd-utils/systemd-utils-254.5-r2.ebuild index d31c70d4444c..af0e5dfe3c6a 100644 --- a/sys-apps/systemd-utils/systemd-utils-254.5-r2.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-254.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{10..12} ) QA_PKGCONFIG_VERSION=$(ver_cut 1) -inherit bash-completion-r1 flag-o-matic linux-info meson-multilib python-single-r1 -inherit secureboot toolchain-funcs udev usr-ldscript +inherit bash-completion-r1 flag-o-matic linux-info meson-multilib optfeature +inherit python-single-r1 secureboot toolchain-funcs udev usr-ldscript DESCRIPTION="Utilities split out from systemd for OpenRC users" HOMEPAGE="https://systemd.io/" @@ -572,4 +572,13 @@ pkg_postinst() { eend $? udev_reload 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 } diff --git a/sys-apps/systemd-utils/systemd-utils-254.7.ebuild b/sys-apps/systemd-utils/systemd-utils-254.7.ebuild index d31c70d4444c..af0e5dfe3c6a 100644 --- a/sys-apps/systemd-utils/systemd-utils-254.7.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-254.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{10..12} ) QA_PKGCONFIG_VERSION=$(ver_cut 1) -inherit bash-completion-r1 flag-o-matic linux-info meson-multilib python-single-r1 -inherit secureboot toolchain-funcs udev usr-ldscript +inherit bash-completion-r1 flag-o-matic linux-info meson-multilib optfeature +inherit python-single-r1 secureboot toolchain-funcs udev usr-ldscript DESCRIPTION="Utilities split out from systemd for OpenRC users" HOMEPAGE="https://systemd.io/" @@ -572,4 +572,13 @@ pkg_postinst() { eend $? udev_reload 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 } diff --git a/sys-apps/systemd-utils/systemd-utils-254.8.ebuild b/sys-apps/systemd-utils/systemd-utils-254.8.ebuild index e47cf8444027..af0e5dfe3c6a 100644 --- a/sys-apps/systemd-utils/systemd-utils-254.8.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-254.8.ebuild @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{10..12} ) QA_PKGCONFIG_VERSION=$(ver_cut 1) -inherit bash-completion-r1 flag-o-matic linux-info meson-multilib python-single-r1 -inherit secureboot toolchain-funcs udev usr-ldscript +inherit bash-completion-r1 flag-o-matic linux-info meson-multilib optfeature +inherit python-single-r1 secureboot toolchain-funcs udev usr-ldscript DESCRIPTION="Utilities split out from systemd for OpenRC users" HOMEPAGE="https://systemd.io/" @@ -572,4 +572,13 @@ pkg_postinst() { eend $? udev_reload 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 } diff --git a/sys-apps/systemd-utils/systemd-utils-254.9.ebuild b/sys-apps/systemd-utils/systemd-utils-254.9.ebuild index d51fec657618..0f7730c67c88 100644 --- a/sys-apps/systemd-utils/systemd-utils-254.9.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-254.9.ebuild @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{10..12} ) QA_PKGCONFIG_VERSION=$(ver_cut 1) -inherit bash-completion-r1 flag-o-matic linux-info meson-multilib python-single-r1 -inherit secureboot toolchain-funcs udev usr-ldscript +inherit bash-completion-r1 flag-o-matic linux-info meson-multilib optfeature +inherit python-single-r1 secureboot toolchain-funcs udev usr-ldscript DESCRIPTION="Utilities split out from systemd for OpenRC users" HOMEPAGE="https://systemd.io/" @@ -572,4 +572,13 @@ pkg_postinst() { eend $? udev_reload 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 } |