init_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin
authorJames Perkins <james.perkins@linuxfoundation.org>
Sat, 18 Sep 2010 00:15:26 +0000 (17:15 -0700)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sun, 20 Mar 2011 19:18:11 +0000 (20:18 +0100)
commitd6ba38b69c70f0e35f35ced4e048d56c5f637c44
treea531d81541fc9b7e8fd8b5a1d6c3ca93a2d70b60
parentf9d4ad5d8007f126022d74278fdab8c486286f4b
init_buildsystem: copy_qemu: prefer $BUILD_DIR qemu-* over worker in /usr/bin

copy_qemu is used to populate the virtual machine's rootfs with
/usr/bin/qemu-* files, used for executing cross-arch usermode emulators.

The build server's getbuildcode routine populates the VM's $BUILD_DIR
(/.build) directory with scripts.  If the server has also provided
qemu-* binaries there, copy them into the VM rootfs in preference to the
build host's /usr/bin/qemu-* binaries.

This change simplifies build worker qemu configuration.

Signed-off-by: James Perkins <james.perkins@linuxfoundation.org>
init_buildsystem