app-emulation/xen: add msg in pkg_postinst to all vns. 4.5 4.5 re xen-syms
authorIan Delaney <idella4@gentoo.org>
Sat, 26 Dec 2015 07:06:33 +0000 (15:06 +0800)
committerIan Delaney <idella4@gentoo.org>
Sun, 27 Dec 2015 01:22:51 +0000 (09:22 +0800)
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
app-emulation/xen/xen-4.5.2-r3.ebuild
app-emulation/xen/xen-4.6.0-r3.ebuild
app-emulation/xen/xen-4.6.0-r4.ebuild

index 07af8f9be98592d56c587c9e7d4f14f04266c18a..d703dcf280c1ecad6c57da7148a4ca66fbfc97e9 100644 (file)
@@ -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"
 }
index 2bd75da2cb0cd1f7a05b64914891300e87b7571f..434306c6645611b0775e7d971f3088bb429c10f0 100644 (file)
@@ -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"
 }
index 4ca1a84356e7bbe07efa7e9af38bbd643306e5b4..7ff1d1daea5f6ef723a67a0d6fea064ca256fe77 100644 (file)
@@ -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"
 }
index c1c7fa0dbbc7d0d43fa7ef5c64fb7560451bdd1f..277e71a12752c07c18f906080d48582ef3fbc36d 100644 (file)
@@ -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"
 }