mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
setup_board: Set grub use flags to build arm64
Set the host grub use flags to build arm64 grub support when BOARD is equal to arm64-usr. From: Andrej Rosano <andrej@inversepath.com> [Move to case statement] Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
c353bc083b
commit
63679ebbe1
@ -163,6 +163,13 @@ case "$BOARD" in
|
|||||||
*-host)
|
*-host)
|
||||||
die_notrace "host boards not supported by setup_board"
|
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
|
esac
|
||||||
# Locations we will need
|
# Locations we will need
|
||||||
COREOS_OVERLAY="${REPO_ROOT}/src/third_party/coreos-overlay"
|
COREOS_OVERLAY="${REPO_ROOT}/src/third_party/coreos-overlay"
|
||||||
|
Loading…
Reference in New Issue
Block a user