From e377e096a90930970d64b6c4b064608e7383a60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Thu, 17 Aug 2023 19:41:35 +0200 Subject: [PATCH] sys-apps/sysvinit: Add postinst message about halt bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/911257#c7 Signed-off-by: Ulrich Müller --- sys-apps/sysvinit/sysvinit-3.07-r1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild b/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild index 349a3b1db05e..ca8d69b8a11c 100644 --- a/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild +++ b/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild @@ -187,4 +187,13 @@ pkg_postinst() { if [[ ! -e "${EROOT}/var/log/boot" ]] ; then touch "${EROOT}/var/log/boot" fi + + local ver + for ver in ${REPLACING_VERSIONS}; do + ver_test ${ver} -gt 3.07-r1 && continue + elog "Previously, the 'halt' command caused the system to power off" + elog "even if option -p was not given. This long-standing bug has" + elog "been fixed, and the command now behaves as documented." + break + done } -- 2.41.0