mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
690 B
Text
29 lines
690 B
Text
# 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 $*
|