setup_board: Call setup_qemu_static

setup_qemu_static only needs to be called once, and can
be done early so that it is available.  Move the call
of setup_qemu_static from build_packages to setup_board.

Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-11-19 15:08:00 -08:00
parent 63679ebbe1
commit 57c129acfd
2 changed files with 3 additions and 2 deletions

View File

@ -222,8 +222,6 @@ break_dep_loop sys-apps/util-linux udev,systemd sys-apps/systemd cryptsetup
break_dep_loop sys-apps/systemd cryptsetup
info "Merging board packages now"
# The following line is required by chroots present in "update-bootengine"
setup_qemu_static "${BOARD_ROOT}"
sudo -E "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" \
@system coreos-devel/board-packages

View File

@ -317,3 +317,6 @@ if [ -n "${WORKING_ON}" ]; then
info "Currently working on the following ebuilds for this board:"
info "${WORKING_ON}"
fi
# Setup BOARD_ROOT for QEMU user emulation.
setup_qemu_static "${BOARD_ROOT}"