This commit is contained in:
zenobit 2023-09-16 18:05:42 +02:00
parent 17e856b1ca
commit 0921e39c1b

View file

@ -251,6 +251,7 @@ function os_support() {
rockylinux \
siduction \
slackware \
slax \
slitaz \
solus \
tails \
@ -669,6 +670,14 @@ function releases_slackware() {
echo 14.2 15.0
}
function releases_slax() {
echo latest
}
function editions_slax() {
echo Debian Slackware
}
function releases_slitaz() {
echo preferred core core64 loram core-5in1 preinit
}
@ -1013,7 +1022,7 @@ EOF
echo "boot=\"legacy\"" >> "${CONF_FILE}"
fi
;;
dragonflybsd|haiku|openbsd|netbsd|slackware|tails)
dragonflybsd|haiku|openbsd|netbsd|slackware|slax|tails)
echo "boot=\"legacy\"" >> "${CONF_FILE}";;
deepin)
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
@ -1978,6 +1987,22 @@ function get_slackware() {
echo "${URL}/${ISO} ${HASH}"
}
function get_slax() {
local HASH=""
local ISO=""
local URL="https://slax.org/download-slax.php?a=64bit&b=${EDITION}"
case ${EDITION} in
Debian) ISO="slax-64bit-11.6.0.iso"
HASH="b3771211c4485fec2e4f2418b06125f3e53424c5"
;;
Slackware) ISO="slax-64bit-15.0.1.iso"
HASH="4ec9dff930251fbae847a56b18d53505147faf84"
;;
esac
echo "${URL}/${ISO} ${HASH}"
}
function get_slitaz() {
local HASH=""
local ISO="slitaz-rolling-${RELEASE}"