DistroHopper/public/arch-linux
2026-11-29 05:46:38 +01:00

47 lines
938 B
Text

# Template file for 'arch-linux'
OSNAME="arch-linux"
PRETTY="Arch Linux"
LOGO=" "
ICON="arch-linux.svg"
ICON_ONLINE=""
CATEGORY="Desktop, Server"
BASEDOF="-"
DESCRIPTION="Lightweight and flexible Linux® distribution that tries to Keep It Simple"
HOMEPAGE="https://archlinux.org"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
MAGNET_PREFERRED=""
TORRENT=""
CHAT=""
RELEASES="latest"
QEMU_ARCH="amd64"
releases_() {
echo latest
}
arch_() {
echo amd64
}
get_() {
local HASH=""
local ISO=""
local URL="https://mirror.rackspace.com/archlinux"
ISO=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url')
HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha256_sum')
echo "${URL}${ISO} ${HASH}"
}
config_() {
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
}
releases_() {
# Releases parsed at generation time — no network access needed.
echo "${RELEASES}"
}