projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba72cf4
)
detect and use qemu-kvm automatically
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 26 Jun 2008 14:00:01 +0000
(14:00 +0000)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 26 Jun 2008 14:00:01 +0000
(14:00 +0000)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
d29d905
..
de6820f
100755
(executable)
--- a/
build
+++ b/
build
@@
-678,6
+678,11
@@
if test -n "$KILL" ; then
cleanup_and_exit 0
fi
+if [ -n "$USE_QEMU" -a -r /dev/kvm -a -x "$qemu_bin"-kvm ]; then
+ echo "using qemu-kvm"
+ qemu_bin="$qemu_bin-kvm"
+fi
+
if [ -z "$RPMLIST" ]; then
if [ -z "$repos" -a -z "$BUILD_RPMS" ]; then
BUILD_RPMS="/media/dvd/suse"