summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-05-27 19:30:00 -0400
committerMike Gilbert <floppym@gentoo.org>2023-05-27 19:30:00 -0400
commitc5317b6f2795219eef67b0453c5e72a72e3d8be4 (patch)
tree608649ee94104c7124634ad83d70e20ffe9e795f /sys-apps
parentnet-dialup/ppp: move kernel checks to pkg_setup (diff)
downloadgentoo-c5317b6f2795219eef67b0453c5e72a72e3d8be4.tar.gz
gentoo-c5317b6f2795219eef67b0453c5e72a72e3d8be4.tar.bz2
gentoo-c5317b6f2795219eef67b0453c5e72a72e3d8be4.zip
sys-apps/systemd: add warning about 'gnuefi' USE flag rename
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 6353d8f18ef3..812aea61d1df 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -469,6 +469,10 @@ pkg_preinst() {
die "System layout with split directories still used"
fi
fi
+ if ! use boot && has_version "sys-apps/systemd[gnuefi(-)]"; then
+ ewarn "The 'gnuefi' USE flag has been renamed to 'boot'."
+ ewarn "Make sure to enable the 'boot' USE flag if you use systemd-boot."
+ fi
}
pkg_postinst() {