commit:     4e6cfc899a24f2d6a6ed9af72abede0973f87053
Author:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 07:06:33 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 01:22:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6cfc89

app-emulation/xen: add msg in pkg_postinst to all vns. 4.5 4.5 re xen-syms

Prompt from user in bug #552424 to make install of /boot/xen-syms optional,
done by informing user via msg in pkg_postinst to do this using INSTALL_MASK

Gentoo bug: #552424

Package-Manager: portage-2.2.24

 app-emulation/xen/xen-4.5.2-r2.ebuild | 5 +++++
 app-emulation/xen/xen-4.5.2-r3.ebuild | 4 ++++
 app-emulation/xen/xen-4.6.0-r3.ebuild | 4 ++++
 app-emulation/xen/xen-4.6.0-r4.ebuild | 4 ++++
 4 files changed, 17 insertions(+)

diff --git a/app-emulation/xen/xen-4.5.2-r2.ebuild 
b/app-emulation/xen/xen-4.5.2-r2.ebuild
index 07af8f9..d703dcf 100644
--- a/app-emulation/xen/xen-4.5.2-r2.ebuild
+++ b/app-emulation/xen/xen-4.5.2-r2.ebuild
@@ -177,9 +177,14 @@ src_install() {
 }
 
 pkg_postinst() {
+       local msg="INSTALL_MASK=/boot/xen-syms"
        elog "Official Xen Guide and the unoffical wiki page:"
        elog " https://wiki.gentoo.org/wiki/Xen";
        elog " http://en.gentoo-wiki.com/wiki/Xen/";
 
        use efi && einfo "The efi executable is installed in boot/efi/gentoo"
+
+       elog "You can optionally block the installation of /boot/xen-syms by an 
entry"
+       elog "in folder /etc/portage/env using the portage's feature 
INSTALL_MASK"
+       elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
 }

diff --git a/app-emulation/xen/xen-4.5.2-r3.ebuild 
b/app-emulation/xen/xen-4.5.2-r3.ebuild
index 2bd75da..434306c 100644
--- a/app-emulation/xen/xen-4.5.2-r3.ebuild
+++ b/app-emulation/xen/xen-4.5.2-r3.ebuild
@@ -185,4 +185,8 @@ pkg_postinst() {
        elog " http://en.gentoo-wiki.com/wiki/Xen/";
 
        use efi && einfo "The efi executable is installed in boot/efi/gentoo"
+
+       elog "You can optionally block the installation of /boot/xen-syms by an 
entry"
+       elog "in folder /etc/portage/env using the portage's feature 
INSTALL_MASK"
+       elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
 }

diff --git a/app-emulation/xen/xen-4.6.0-r3.ebuild 
b/app-emulation/xen/xen-4.6.0-r3.ebuild
index 4ca1a84..7ff1d1d 100644
--- a/app-emulation/xen/xen-4.6.0-r3.ebuild
+++ b/app-emulation/xen/xen-4.6.0-r3.ebuild
@@ -182,4 +182,8 @@ pkg_postinst() {
        elog " http://en.gentoo-wiki.com/wiki/Xen/";
 
        use efi && einfo "The efi executable is installed in boot/efi/gentoo"
+
+       elog "You can optionally block the installation of /boot/xen-syms by an 
entry"
+       elog "in folder /etc/portage/env using the portage's feature 
INSTALL_MASK"
+       elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
 }

diff --git a/app-emulation/xen/xen-4.6.0-r4.ebuild 
b/app-emulation/xen/xen-4.6.0-r4.ebuild
index c1c7fa0..277e71a 100644
--- a/app-emulation/xen/xen-4.6.0-r4.ebuild
+++ b/app-emulation/xen/xen-4.6.0-r4.ebuild
@@ -183,4 +183,8 @@ pkg_postinst() {
        elog " http://en.gentoo-wiki.com/wiki/Xen/";
 
        use efi && einfo "The efi executable is installed in boot/efi/gentoo"
+
+       elog "You can optionally block the installation of /boot/xen-syms by an 
entry"
+       elog "in folder /etc/portage/env using the portage's feature 
INSTALL_MASK"
+       elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
 }

Reply via email to