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:
27b3a90
)
allow abuild user to run accelerated qemu also in XEN.
author
Adrian Schröter
<adrian@suse.de>
Wed, 8 Apr 2009 16:26:47 +0000
(16:26 +0000)
committer
Adrian Schröter
<adrian@suse.de>
Wed, 8 Apr 2009 16:26:47 +0000
(16:26 +0000)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
f713017
..
9976f5a
100755
(executable)
--- a/
build
+++ b/
build
@@
-375,6
+375,10
@@
detect_vm_2nd_stage()
RUNNING_IN_VM=true
mount -orw -n -tproc none /proc
mount -n -o remount,rw /
+ if [ -e /dev/kqemu ]; then
+ # allow abuild user to run qemu
+ chmod 0755 /dev/kqemu
+ fi
if test -n "$VM_SWAP" ; then
for i in 1 2 3 4 5 6 7 8 9 10 ; do
test -e "$VM_SWAP" && break