From 6860724fa725ccdeea0a2e7ed111b8093406da7b Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sun, 3 Nov 2024 16:43:29 +0500 Subject: [PATCH] distro_fedora: Add support for spins --- common.d/common.fedora.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.d/common.fedora.sh b/common.d/common.fedora.sh index 1b7b359..f24a8f6 100644 --- a/common.d/common.fedora.sh +++ b/common.d/common.fedora.sh @@ -16,12 +16,13 @@ fetch_base_system() local release="$2" local releasever="$3" local edition="$4" + local variant="$5" [ ! -d "$rootdir" ] && { log "Rootdir [$rootdir] does not exists" ierror return 2 } - local xz_url="https://fedora.mirrorservice.org/fedora/linux/releases/$release/$edition/aarch64/images/Fedora-$release-$releasever.aarch64.raw.xz" + local xz_url="https://fedora.mirrorservice.org/fedora/linux/releases/$release/$edition/aarch64/images/Fedora-$variant-$release-$releasever.aarch64.raw.xz" local xz_path="./cache/Fedora-$edition-$release-$releasever.aarch64.raw.xz" local raw_path="./cache/Fedora-$edition-$release-$releasever.aarch64.raw"