mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #478 from glevand/for-merge-setup
scripts: Updates for arm64
This commit is contained in:
commit
851cf98945
@ -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
|
||||
|
||||
|
||||
10
setup_board
10
setup_board
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user