From 66368e2767c6b888a7c06ad9f00ca36f5ac1d636 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 19 Nov 2012 20:08:39 -0200 Subject: xen-4.2.0-12: updating version --- kernels/xen/xen.install | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 kernels/xen/xen.install (limited to 'kernels/xen/xen.install') diff --git a/kernels/xen/xen.install b/kernels/xen/xen.install new file mode 100644 index 000000000..5664948c7 --- /dev/null +++ b/kernels/xen/xen.install @@ -0,0 +1,38 @@ +install_msg() { + cat << __EOF__ +===> IMPORTANT NOTICE: + +In order to complete the installation, and enable Xen, +at the very least you must: +1. Edit your GRUB2 config files as specified at + https://wiki.archlinux.org/index.php/Xen#Bootloader_Configuration +2. Issue the following commands to allow you to create and start VMs: + systemctl enable xenstored.service + systemctl enable xenconsoled.service + systemctl enable xendomains.service +For more information refer to the Wiki: + https://wiki.archlinux.org/index.php/Xen +__EOF__ + +} + +post_upgrade() { + install_msg +} + +pre_remove() { + for i in xen{stored,consoled,domains}.service; do + systemctl disable $serv + systemctl stop $serv + done +} + +post_remove() { + cat << __EOF__ +===> IMPORTANT NOTICE: + +In order to finish removing Xen, you will need to modify +your bootloader configuration files to load your Linux +kernel instead of Xen kernel. +__EOF__ +} -- cgit v1.2.3-54-g00ecf