Merge pull request #478 from glevand/for-merge-setup

scripts: Updates for arm64
This commit is contained in:
Michael Marineau 2016-01-15 17:39:12 -08:00
commit 851cf98945
2 changed files with 10 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

@ -163,6 +163,13 @@ case "$BOARD" in
*-host)
die_notrace "host boards not supported by setup_board"
;;
arm64-usr)
# Set grub use flags to build arm64.
[[ ! -d /etc/portage/package.use ]] && sudo mkdir /etc/portage/package.use
sudo_clobber "/etc/portage/package.use/grub" <<EOF
sys-boot/grub grub_platforms_arm64
EOF
;;
esac
# Locations we will need
COREOS_OVERLAY="${REPO_ROOT}/src/third_party/coreos-overlay"
@ -310,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}"