diff --git a/tools/image-installer/fedora-workstation-39-aarch64 b/tools/image-installer/fedora-workstation-39-aarch64 new file mode 100755 index 0000000..9c5ca1a --- /dev/null +++ b/tools/image-installer/fedora-workstation-39-aarch64 @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: GPL-2.0+ +# Automate Media Creation for Fedora Workstation 39 on ARM Chromebooks + +GETFEDORA="https://download.fedoraproject.org/pub/fedora/linux/releases/39/Workstation/aarch64/images/Fedora-Workstation-39-1.5.aarch64.raw.xz" +IMAGE=$(basename -s .xz $GETFEDORA) +MEDIA="$1" + +# usage message +usage() { + echo " +Usage: $(basename ${0}) +" +} + +if [ "$MEDIA" = "" ]; then + usage + exit 1 +fi + +if [ ! -f "$IMAGE" ]; then + if [ ! -f "$(basename $GETFEDORA)" ]; then + curl -OL "$GETFEDORA" + fi + unxz "$(basename $GETFEDORA)" +fi + +sudo ./chromebook-setup.sh deploy_fedora --architecture=arm64 --storage="$1" --distro=fedora