diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-04 13:14:05 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-04 13:15:05 -0700 |
commit | 89bc0ef126407bbc0e28f3f453d7882b97a71700 (patch) | |
tree | 31f196b83feb0ef75d974356e1bbef0070740786 /sys-apps | |
parent | app-portage/portage-utils-0.90: version bump for qlop fixes (diff) | |
download | gentoo-89bc0ef126407bbc0e28f3f453d7882b97a71700.tar.gz gentoo-89bc0ef126407bbc0e28f3f453d7882b97a71700.tar.bz2 gentoo-89bc0ef126407bbc0e28f3f453d7882b97a71700.zip |
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@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/opal-utils/opal-utils-6.5.2.ebuild | 11 | ||||
-rw-r--r-- | sys-apps/opal-utils/opal-utils-6.6.2.ebuild | 11 | ||||
-rw-r--r-- | sys-apps/opal-utils/opal-utils-6.6.3.ebuild | 11 |
3 files changed, 33 insertions, 0 deletions
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 9479de387f7e..805fc46be850 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 22d57ef7a346..c683ec843d82 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 823783f6fa37..b7976592cb25 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 +} |