PKGBUILDs/extra/qemu/qemu.install

30 lines
690 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
# kvm: the new package version
post_install() {
#
groupadd kvm -f -g 78
echo ">>> Since kernel 2.6.29:"
echo ">>> Qemu package now provides standard qemu with kvm enabled."
echo ""
echo ">>> PLEASE READ FOR KVM USAGE!"
echo ">>> Load the correct KVM module, you will need a KVM capable CPU!"
echo ">>> Add yourself to the group 'kvm'."
echo ">>> Use 'qemu --enable-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."
}
post_upgrade() {
post_install $1
}
post_remove() {
#
groupdel kvm
}
op=$1
shift
$op $*