commit: 53aae885d64f2284895359d9366641656d82b49e Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Aug 17 17:41:35 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Aug 17 19:25:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53aae885
sys-apps/sysvinit: Add postinst message about halt bugfix Bug: https://bugs.gentoo.org/911257#c7 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> .../{sysvinit-3.07-r1.ebuild => sysvinit-3.07-r2.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-r2.ebuild similarity index 94% rename from sys-apps/sysvinit/sysvinit-3.07-r1.ebuild rename to sys-apps/sysvinit/sysvinit-3.07-r2.ebuild index 349a3b1db05e..71e4fdb7f074 100644 --- a/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild +++ b/sys-apps/sysvinit/sysvinit-3.07-r2.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} -ge 3.07-r2 && continue + ewarn "Previously, the 'halt' command caused the system to power off" + ewarn "even if option -p was not given. This long-standing bug has" + ewarn "been fixed, and the command now behaves as documented." + break + done }
