diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 20:15:52 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 20:17:19 +0200 |
commit | 7ef0d1aed0ffad1316a898fc4a06da95071e987f (patch) | |
tree | accde9000678793a7acda6485b214962f3772933 /sys-kernel/genkernel | |
parent | dev-util/trace-cmd: Version bump to 2.8, update 9999 (diff) | |
download | gentoo-7ef0d1aed0ffad1316a898fc4a06da95071e987f.tar.gz gentoo-7ef0d1aed0ffad1316a898fc4a06da95071e987f.tar.bz2 gentoo-7ef0d1aed0ffad1316a898fc4a06da95071e987f.zip |
sys-kernel/genkernel: Tell user about new MODULEREBUILD option
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/genkernel-9999.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index c1e47a03889b..8cab8f829e7b 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -220,5 +220,12 @@ pkg_postinst() { ewarn "in genkernel v4+ initramfs!" fi fi + + if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then + elog "" + elog "Please remove `emerge @module-rebuild` from genkernel config" + ewarn "file (${gk_config}) and make use of new MODULEREBUILD option" + ewarn "instead." + fi fi } |