public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/
Date: Sun,  4 Oct 2020 20:15:54 +0000 (UTC)	[thread overview]
Message-ID: <1601842505.89bc0ef126407bbc0e28f3f453d7882b97a71700.gyakovlev@gentoo> (raw)

commit:     89bc0ef126407bbc0e28f3f453d7882b97a71700
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 20:14:05 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 20:15:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89bc0ef1

sys-apps/opal-utils: add postinst message about /dev and opal-prd

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-apps/opal-utils/opal-utils-6.5.2.ebuild | 11 +++++++++++
 sys-apps/opal-utils/opal-utils-6.6.2.ebuild | 11 +++++++++++
 sys-apps/opal-utils/opal-utils-6.6.3.ebuild | 11 +++++++++++
 3 files changed, 33 insertions(+)

diff --git a/sys-apps/opal-utils/opal-utils-6.5.2.ebuild b/sys-apps/opal-utils/opal-utils-6.5.2.ebuild
index 9479de387f7..805fc46be85 100644
--- a/sys-apps/opal-utils/opal-utils-6.5.2.ebuild
+++ b/sys-apps/opal-utils/opal-utils-6.5.2.ebuild
@@ -78,3 +78,14 @@ src_install() {
 	fi
 	einstalldocs
 }
+
+pkg_postinst() {
+	if systemd_is_booted || has_version sys-apps/systemd; then
+		echo
+		ewarn "With systemd opal-prd.service will fail to start"
+		ewarn "with 'mmap failed: Operation not permitted' error"
+		ewarn "if /dev filesystem is mounted with 'noexec' option"
+		ewarn "see https://github.com/open-power/skiboot/issues/258"
+		echo
+	fi
+}

diff --git a/sys-apps/opal-utils/opal-utils-6.6.2.ebuild b/sys-apps/opal-utils/opal-utils-6.6.2.ebuild
index 22d57ef7a34..c683ec843d8 100644
--- a/sys-apps/opal-utils/opal-utils-6.6.2.ebuild
+++ b/sys-apps/opal-utils/opal-utils-6.6.2.ebuild
@@ -90,3 +90,14 @@ src_test() {
 	emake V=1 -C external/pflash check
 	emake V=1 -C external/ffspart check
 }
+
+pkg_postinst() {
+	if systemd_is_booted || has_version sys-apps/systemd; then
+		echo
+		ewarn "With systemd opal-prd.service will fail to start"
+		ewarn "with 'mmap failed: Operation not permitted' error"
+		ewarn "if /dev filesystem is mounted with 'noexec' option"
+		ewarn "see https://github.com/open-power/skiboot/issues/258"
+		echo
+	fi
+}

diff --git a/sys-apps/opal-utils/opal-utils-6.6.3.ebuild b/sys-apps/opal-utils/opal-utils-6.6.3.ebuild
index 823783f6fa3..b7976592cb2 100644
--- a/sys-apps/opal-utils/opal-utils-6.6.3.ebuild
+++ b/sys-apps/opal-utils/opal-utils-6.6.3.ebuild
@@ -90,3 +90,14 @@ src_test() {
 	emake V=1 -C external/pflash check
 	emake V=1 -C external/ffspart check
 }
+
+pkg_postinst() {
+	if systemd_is_booted || has_version sys-apps/systemd; then
+		echo
+		ewarn "With systemd opal-prd.service will fail to start"
+		ewarn "with 'mmap failed: Operation not permitted' error"
+		ewarn "if /dev filesystem is mounted with 'noexec' option"
+		ewarn "see https://github.com/open-power/skiboot/issues/258"
+		echo
+	fi
+}


             reply	other threads:[~2020-10-04 20:15 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 20:15 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-03 12:44 [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/ Arthur Zamarin
2023-04-03 17:15 Georgy Yakovlev
2022-11-11 11:57 Georgy Yakovlev
2022-11-11 11:57 Georgy Yakovlev
2022-01-13 21:37 Georgy Yakovlev
2021-11-09  4:54 Georgy Yakovlev
2021-11-09  4:54 Georgy Yakovlev
2021-11-09  4:54 Georgy Yakovlev
2021-05-30  1:07 Georgy Yakovlev
2021-05-29 23:40 Georgy Yakovlev
2021-05-29 19:53 Georgy Yakovlev
2021-05-29 18:32 Georgy Yakovlev
2021-04-18  0:36 Georgy Yakovlev
2020-12-25 12:17 Sergei Trofimovich
2020-12-18 10:25 Sergei Trofimovich
2020-12-18  9:53 Sergei Trofimovich
2020-11-03  4:37 Georgy Yakovlev
2020-09-10  0:27 Georgy Yakovlev
2020-09-05  7:49 Georgy Yakovlev
2020-09-02 20:14 Georgy Yakovlev
2020-09-02 20:14 Georgy Yakovlev
2020-07-03 20:35 Georgy Yakovlev
2020-06-09 20:50 Georgy Yakovlev
2020-06-09 20:50 Georgy Yakovlev
2020-04-23  9:03 Georgy Yakovlev
2020-04-23  9:03 Georgy Yakovlev
2020-04-23  9:03 Georgy Yakovlev
2020-02-10 13:26 Michał Górny
2019-12-22  6:21 Georgy Yakovlev
2019-08-25  1:50 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601842505.89bc0ef126407bbc0e28f3f453d7882b97a71700.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox