projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c6459
)
[build] copy qemus from server not for local build
author
Martin Mohring
<martin.mohring@5edatasoft.com>
Mon, 15 Aug 2011 02:25:25 +0000
(
04:25
+0200)
committer
Martin Mohring
<martin.mohring@5edatasoft.com>
Mon, 15 Aug 2011 02:25:25 +0000
(
04:25
+0200)
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
b215791
..
fab0af2
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-355,6
+355,19
@@
validate_cache_file()
# fall back to initscript_qemu_vm shell script with corresponding static
# bash and mount programs.
#
+
+check_copy_qemu()
+{
+ local arch
+
+ for arch in $EMULATOR_DEVS; do
+ if test -e $BUILD_DIR/qemu-$arch; then
+ return 0
+ fi
+ done
+ return 1
+}
+
copy_qemu()
{
local path dest
@@
-363,7
+376,7
@@
copy_qemu()
mkdir -p $BUILD_ROOT/usr/bin
- if
[ -e $BUILD_DIR/qemu-reg -a -x $BUILD_DIR/initvm ]
; then
+ if
check_copy_qemu
; then
for path in $BUILD_DIR/qemu-*; do
if file $path | grep -q static; then