mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
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:
parent
63679ebbe1
commit
57c129acfd
@ -222,8 +222,6 @@ break_dep_loop sys-apps/util-linux udev,systemd sys-apps/systemd cryptsetup
|
|||||||
break_dep_loop sys-apps/systemd cryptsetup
|
break_dep_loop sys-apps/systemd cryptsetup
|
||||||
|
|
||||||
info "Merging board packages now"
|
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[@]}" \
|
sudo -E "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" \
|
||||||
@system coreos-devel/board-packages
|
@system coreos-devel/board-packages
|
||||||
|
|
||||||
|
|||||||
@ -317,3 +317,6 @@ if [ -n "${WORKING_ON}" ]; then
|
|||||||
info "Currently working on the following ebuilds for this board:"
|
info "Currently working on the following ebuilds for this board:"
|
||||||
info "${WORKING_ON}"
|
info "${WORKING_ON}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setup BOARD_ROOT for QEMU user emulation.
|
||||||
|
setup_qemu_static "${BOARD_ROOT}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user