sys-apps/kexec-tools: Sync with Gentoo

It's from Gentoo commit 97dd9dc654a71cc4ee30ee97c803af3313a50b97.
This commit is contained in:
Flatcar Buildbot 2024-02-19 07:16:23 +00:00 committed by Krzesimir Nowak
parent 006d996041
commit 604c56a583
3 changed files with 15 additions and 6 deletions

View File

@ -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 libtool linux-info systemd
inherit libtool linux-info optfeature systemd
if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
@ -121,4 +121,7 @@ pkg_postinst() {
ewarn "in case running system and initramfs do not agree on detected"
ewarn "root device name!"
fi
optfeature "automatically updating /etc/kexec.conf on each kernel installation" \
"sys-kernel/installkernel[-systemd]"
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit libtool linux-info systemd
inherit libtool linux-info optfeature systemd
if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
@ -125,4 +125,7 @@ pkg_postinst() {
ewarn "in case running system and initramfs do not agree on detected"
ewarn "root device name!"
fi
optfeature "automatically updating /etc/kexec.conf on each kernel installation" \
"sys-kernel/installkernel[-systemd]"
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit libtool linux-info systemd
inherit libtool linux-info optfeature systemd
if [[ ${PV} == "9999" ]] ; then
inherit git-r3 autotools
@ -125,4 +125,7 @@ pkg_postinst() {
ewarn "in case running system and initramfs do not agree on detected"
ewarn "root device name!"
fi
optfeature "automatically updating /etc/kexec.conf on each kernel installation" \
"sys-kernel/installkernel[-systemd]"
}