feat(quickget): add Azure Linux (3.0) support
- Add os_info() case entry with a description for Azure Linux - Add Azure Linux to os_support() list - Implement releases_azurelinux() returning "3.0" - Implement arch_azurelinux() returning "amd64 arm64" - Implement get_azurelinux() using stable aka.ms download URLs: - https://aka.ms/azurelinux-3.0-x86_64.iso - https://aka.ms/azurelinux-3.0-aarch64.iso Fixes #1459 Signed-off-by: Martin Wimpress <martin@wimpress.org>
This commit is contained in:
parent
e600d742ba
commit
5504fdf4cc
18
quickget
18
quickget
|
|
@ -34,6 +34,7 @@ function os_info() {
|
||||||
archcraft) INFO="Archcraft|-|https://archcraft.io/|Yet another minimal Linux distribution, based on Arch Linux.";;
|
archcraft) INFO="Archcraft|-|https://archcraft.io/|Yet another minimal Linux distribution, based on Arch Linux.";;
|
||||||
archlinux) INFO="Arch Linux|-|https://archlinux.org/|Lightweight and flexible Linux® distribution that tries to Keep It Simple.";;
|
archlinux) INFO="Arch Linux|-|https://archlinux.org/|Lightweight and flexible Linux® distribution that tries to Keep It Simple.";;
|
||||||
artixlinux) INFO="Artix Linux|-|https://artixlinux.org/|The Art of Linux. Simple. Fast. Systemd-free.";;
|
artixlinux) INFO="Artix Linux|-|https://artixlinux.org/|The Art of Linux. Simple. Fast. Systemd-free.";;
|
||||||
|
azurelinux) INFO="Azure Linux|-|https://github.com/microsoft/azurelinux|Microsoft's internal Linux distribution for cloud infrastructure and edge.";;
|
||||||
batocera) INFO="Batocera|-|https://batocera.org/|Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently.";;
|
batocera) INFO="Batocera|-|https://batocera.org/|Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently.";;
|
||||||
bazzite) INFO="Bazzite|-|https://github.com/ublue-os/bazzite/|Container native gaming and a ready-to-game SteamOS like.";;
|
bazzite) INFO="Bazzite|-|https://github.com/ublue-os/bazzite/|Container native gaming and a ready-to-game SteamOS like.";;
|
||||||
biglinux) INFO="BigLinux|-|https://www.biglinux.com.br/|Is the right choice if you want to have an easy and enriching experience with Linux. It has been perfected over more than 19 years, following our motto: 'In search of the perfect system'.";;
|
biglinux) INFO="BigLinux|-|https://www.biglinux.com.br/|Is the right choice if you want to have an easy and enriching experience with Linux. It has been perfected over more than 19 years, following our motto: 'In search of the perfect system'.";;
|
||||||
|
|
@ -641,6 +642,7 @@ function os_support() {
|
||||||
archcraft \
|
archcraft \
|
||||||
archlinux \
|
archlinux \
|
||||||
artixlinux \
|
artixlinux \
|
||||||
|
azurelinux \
|
||||||
batocera \
|
batocera \
|
||||||
bazzite \
|
bazzite \
|
||||||
biglinux \
|
biglinux \
|
||||||
|
|
@ -784,6 +786,10 @@ function editions_artixlinux() {
|
||||||
echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | sed 's/artix-//' | sed 's/-[0-9]\{8\}-x86_64.iso//' | sort -u)
|
echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | sed 's/artix-//' | sed 's/-[0-9]\{8\}-x86_64.iso//' | sort -u)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function releases_azurelinux() {
|
||||||
|
echo 3.0
|
||||||
|
}
|
||||||
|
|
||||||
function releases_batocera() {
|
function releases_batocera() {
|
||||||
#shellcheck disable=SC2046,SC2005
|
#shellcheck disable=SC2046,SC2005
|
||||||
echo $(web_pipe "https://mirrors.o2switch.fr/batocera/x86_64/stable/" | grep ^\<a | cut -d'"' -f2 | cut -d '/' -f1 | grep -v '\.' | sort -ru | tail -n +2 | head -n 5)
|
echo $(web_pipe "https://mirrors.o2switch.fr/batocera/x86_64/stable/" | grep ^\<a | cut -d'"' -f2 | cut -d '/' -f1 | grep -v '\.' | sort -ru | tail -n +2 | head -n 5)
|
||||||
|
|
@ -1380,6 +1386,10 @@ function arch_alpine() {
|
||||||
echo "amd64 arm64"
|
echo "amd64 arm64"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function arch_azurelinux() {
|
||||||
|
echo "amd64 arm64"
|
||||||
|
}
|
||||||
|
|
||||||
function arch_debian() {
|
function arch_debian() {
|
||||||
case "${EDITION}" in
|
case "${EDITION}" in
|
||||||
netinst) echo "amd64 arm64";;
|
netinst) echo "amd64 arm64";;
|
||||||
|
|
@ -1998,6 +2008,14 @@ function get_artixlinux() {
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_azurelinux() {
|
||||||
|
local QEMU_ARCH="x86_64"
|
||||||
|
[ "${ARCH}" == "arm64" ] && QEMU_ARCH="aarch64"
|
||||||
|
local URL="https://aka.ms/azurelinux-${RELEASE}-${QEMU_ARCH}.iso"
|
||||||
|
ISO=$(web_redirect "${URL}")
|
||||||
|
echo "${ISO}"
|
||||||
|
}
|
||||||
|
|
||||||
function get_batocera() {
|
function get_batocera() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO=""
|
local ISO=""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue