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 +}