KERNEL="linux-3.14.4"
KEYUTILS="keyutils-1.5.5"
KMOD="kmod-13"
-KVM="kvm-88"
LADSPA="ladspa_sdk"
LAME="lame-3.99.5"
PYGTK="pygtk-2.24.0"
PYTHON="Python-2.7.3"
+QEMU="qemu-1.7.0"
QT="qt-everywhere-opensource-src-4.8.5"
RALENTI="ralenti-0.1"
ipkg ${LTSP_UTILS}
fi
-ipkg -m acnb ${KVM}
+ipkg -j ${QEMU} "--libexecdir=/usr/lib/qemu \
+ --docdir=/usr/share/doc/qemu-1.7.0 \
+ --target-list=x86_64-softmmu"
ipkg -m acnb ${BRIDGE_UTILS}
ipkg -m noac ${TUNCTL}
--- /dev/null
+KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"
fpkg -e "tgz" ${LTSP_UTILS} "http://ltsp.mirrors.tds.net/pub/ltsp/utils"
fpkg -s "software/network/tftp/tftp-hpa" ${TFTP_HPA} ${KERNEL_URL}
-fpkg -m sf ${KVM}
+fpkg ${QEMU} "http://wiki.qemu-project.org/download"
fpkg -m sf -s "bridge" ${BRIDGE_UTILS}
fpkg -m sf ${TUNCTL}
--- /dev/null
+#!/bin/bash
+
+hvbuild_post()
+{
+ [ -e /usr/lib/libcacard.so ] && chmod -v 755 /usr/lib/libcacard.so
+
+ hv_groupadd kvm
+
+ usermod -a -G kvm ${REGUSER}
+
+ # Add a Udev rule so that the KVM device gets correct permissions:
+ install -v -m644 ${SCRDIR}/misc/kvm-udev.rules \
+ /lib/udev/rules.d/65-kvm.rules
+}