[arch-commits] CVS update of extra/emulators/qemu (qemu.install)

Tobias Powalowski tpowa at archlinux.org
Mon Jul 23 19:57:33 UTC 2007


    Date: Monday, July 23, 2007 @ 15:57:33
  Author: tpowa
    Path: /home/cvs-extra/extra/emulators/qemu

   Added: qemu.install (1.1)

'upgpkg: added install file'


--------------+
 qemu.install |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)


Index: extra/emulators/qemu/qemu.install
diff -u /dev/null extra/emulators/qemu/qemu.install:1.1
--- /dev/null	Mon Jul 23 15:57:33 2007
+++ extra/emulators/qemu/qemu.install	Mon Jul 23 15:57:33 2007
@@ -0,0 +1,35 @@
+# kvm:  the new package version
+post_install() {
+  #
+  groupadd kvm
+  echo ">>> Qemu package now provides standard qemu and qemu-kvm"
+  echo ""
+  echo ">>> PLEASE READ FOR KVM USAGE!"
+  echo ">>>  You need to install the 'kvm-modules' package for your kernel."
+  echo ">>>  Load the correct KVM module, you will need a KVM capable CPU!"
+  echo ">>>  Add yourself to the group 'kvm'."
+  echo ">>>  Use 'qemu-kvm' to use KVM."
+  echo""
+  echo ">>> PLEASE READ FOR KQEMU USAGE!"
+  echo ">>> You need to install the 'kqemu' package for your kernel."
+  echo ">>> You need to load the module to use qemu with kqemu."
+
+  /bin/true
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  #
+  groupdel kvm
+  #
+  depmod -a
+  #
+  /bin/true
+}
+
+op=$1
+shift
+$op $*




More information about the arch-commits mailing list