From 7ef0d1aed0ffad1316a898fc4a06da95071e987f Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 15 Jul 2019 20:15:52 +0200 Subject: [PATCH] sys-kernel/genkernel: Tell user about new MODULEREBUILD option Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann --- sys-kernel/genkernel/genkernel-9999.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 } -- 2.26.2