From: Thomas Deutschmann Date: Mon, 15 Jul 2019 18:15:52 +0000 (+0200) Subject: sys-kernel/genkernel: Tell user about new MODULEREBUILD option X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ef0d1aed0ffad1316a898fc4a06da95071e987f;p=gentoo.git sys-kernel/genkernel: Tell user about new MODULEREBUILD option Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann --- 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 }