commit: 867aa4eed03b8f56fc62c3686654abf943106309
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 31 08:51:16 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 06:16:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867aa4ee
sys-boot/lilo: add installkernel as optfeature
package installs /etc/kernel/postinst.d/zz-runlilo which will be executed by
traditional installkernel (i.e. if the systemd-kernel-install flag is
disabled).
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sys-boot/lilo/lilo-24.2-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sys-boot/lilo/lilo-24.2-r1.ebuild
b/sys-boot/lilo/lilo-24.2-r1.ebuild
index 66040236a6d6..a1e7a24913fd 100644
--- a/sys-boot/lilo/lilo-24.2-r1.ebuild
+++ b/sys-boot/lilo/lilo-24.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-inherit flag-o-matic toolchain-funcs
+inherit flag-o-matic optfeature toolchain-funcs
DOLILO_V="0.6"
IUSE="static minimal pxeserial device-mapper"
@@ -184,4 +184,7 @@ pkg_postinst() {
einfo "edit /etc/conf.d/dolilo to harness its full potential."
echo
fi
+
+ optfeature "automatically updating lilo's configuration on each kernel
installation" \
+ "sys-kernel/installkernel[-systemd]"
}