distro_fedora: Add support for spins
This commit is contained in:
parent
78a7524e19
commit
6860724fa7
|
@ -16,12 +16,13 @@ fetch_base_system()
|
||||||
local release="$2"
|
local release="$2"
|
||||||
local releasever="$3"
|
local releasever="$3"
|
||||||
local edition="$4"
|
local edition="$4"
|
||||||
|
local variant="$5"
|
||||||
[ ! -d "$rootdir" ] && {
|
[ ! -d "$rootdir" ] && {
|
||||||
log "Rootdir [$rootdir] does not exists" ierror
|
log "Rootdir [$rootdir] does not exists" ierror
|
||||||
return 2
|
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 xz_path="./cache/Fedora-$edition-$release-$releasever.aarch64.raw.xz"
|
||||||
local raw_path="./cache/Fedora-$edition-$release-$releasever.aarch64.raw"
|
local raw_path="./cache/Fedora-$edition-$release-$releasever.aarch64.raw"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue