mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
update_chroot: do not reconfigure/rebuild the SDK's GRUB for arm64
Now built/installed under the board root instead. See https://github.com/coreos/coreos-overlay/pull/1950
This commit is contained in:
parent
4d97d2752d
commit
44e86ecdaa
@ -219,17 +219,6 @@ if [[ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" && \
|
|||||||
for cross_chost in "${CROSS_CHOSTS[@]}"; do
|
for cross_chost in "${CROSS_CHOSTS[@]}"; do
|
||||||
info "Updating cross ${cross_chost} toolchain"
|
info "Updating cross ${cross_chost} toolchain"
|
||||||
install_cross_toolchain "${cross_chost}" --quiet ${EMERGE_FLAGS}
|
install_cross_toolchain "${cross_chost}" --quiet ${EMERGE_FLAGS}
|
||||||
|
|
||||||
# Set grub for arm64, not enabled by default since it requires the above
|
|
||||||
# cross toolchain which isn't in the SDK by default.
|
|
||||||
if [[ "${cross_chost}" == aarch64-* ]]; then
|
|
||||||
if [[ ! -d /etc/portage/package.use ]]; then
|
|
||||||
sudo mkdir /etc/portage/package.use
|
|
||||||
fi
|
|
||||||
sudo_clobber "/etc/portage/package.use/grub" \
|
|
||||||
<<<"sys-boot/grub grub_platforms_arm64"
|
|
||||||
sudo -E emerge --changed-use sys-boot/grub
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user