summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-07-13 09:31:23 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-07-13 09:31:50 +0200
commit8931f8e3007f0f4711c4670ee439293f7e65f1f6 (patch)
tree6e21c5b43d448446814529eca84994e3d9534713 /app-emulation
parentapp-emulation/xen: drop pkg_postinst() messages (now mostly in xen-tools) (diff)
downloadgentoo-8931f8e3007f0f4711c4670ee439293f7e65f1f6.tar.gz
gentoo-8931f8e3007f0f4711c4670ee439293f7e65f1f6.tar.bz2
gentoo-8931f8e3007f0f4711c4670ee439293f7e65f1f6.zip
app-emulation/xen-tools: use readme.gentoo-r1 eclass
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/xen-tools/xen-tools-4.16.2_pre2-r1.ebuild (renamed from app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild)42
1 files changed, 21 insertions, 21 deletions
diff --git a/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild b/app-emulation/xen-tools/xen-tools-4.16.2_pre2-r1.ebuild
index d41e907ed14d..9c83ef861b78 100644
--- a/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.16.2_pre2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='ncurses,xml,threads(+)'
-inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
+inherit bash-completion-r1 flag-o-matic multilib python-single-r1 readme.gentoo-r1 toolchain-funcs
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -517,27 +517,27 @@ src_install() {
fi
python_optimize
-}
-pkg_postinst() {
- elog "Official Xen Guide and the offical wiki page:"
- elog "https://wiki.gentoo.org/wiki/Xen"
- elog "https://wiki.xen.org/wiki/Main_Page"
- elog ""
- elog "Recommended to utilise the xencommons script to config system at boot"
- elog "Add by use of rc-update on completion of the install"
+ local -x DISABLE_AUTOFORMATTING=true
+ local -x DOC_CONTENTS="Official Xen Guide and the offical wiki page:
+- https://wiki.gentoo.org/wiki/Xen
+- https://wiki.xen.org/wiki/Main_Page
- if ! use hvm; then
- echo
- elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
- elog "support enable the hvm use flag."
- elog "An x86 or amd64 system is required to build HVM support."
- fi
- if use qemu; then
- elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
- elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
- elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
- elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
- fi
+If you use OpenRC:
+It is recommended to utilise the xencommons script to configure the system at
+boot time.
+
+
+If you use QEMU:
+The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source
+build of qemu. This allows for app-emulation/qemu to be emerged concurrently
+with the qemu capable xen. It is up to the user to distinguish between and utilise
+the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise
+"
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
}