diff options
author | Stu Miller <slackbuilds@go4it2day.com> | 2012-02-12 12:04:12 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2012-02-18 09:12:29 -0200 |
commit | 06a7b9a7bcbf8dd3379a46c597bbfcb10ffeab9a (patch) | |
tree | a72c9652dc6da9230d0a503e810d07ef533de75e /system/kvm-kmod/kvm-kmod.SlackBuild | |
parent | 55af8aafe047de2f557ca64b0d3fce6771ad44a9 (diff) | |
download | slackbuilds-06a7b9a7bcbf8dd3379a46c597bbfcb10ffeab9a.tar.gz |
system/kvm-kmod: Updated for version 3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild index 4d5adcb5b3..43910221ff 100644 --- a/system/kvm-kmod/kvm-kmod.SlackBuild +++ b/system/kvm-kmod/kvm-kmod.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kvm-kmod -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,6 +40,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} KERNEL=${KERNEL:-$(uname -r)} +KVMGROUP=${KVMGROUP:-users} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -70,6 +71,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +sed "s,@KVMGROUP@,$KVMGROUP," $CWD/fixup_udev_rules.diff | patch -p1 || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --arch=$ARCH |