This commit is contained in:
Lazymanzoid 2026-06-19 14:53:08 +01:00 committed by GitHub
commit f957d533f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

View File

@ -72,6 +72,7 @@ function os_info() {
haiku) INFO="Haiku|-|https://www.haiku-os.org/|Specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.";;
kali) INFO="Kali|-|https://www.kali.org/|The most advanced Penetration Testing Distribution.";;
kdeneon) INFO="KDE Neon|-|https://neon.kde.org/|Latest and greatest of KDE community software packaged on a rock-solid base.";;
kdelinux) INFO="KDE Linux|-|https://kde.org/linux/|A free Linux-based operating system built by KDE.";;
kolibrios) INFO="KolibriOS|-|https://kolibrios.org/en/|Tiny yet incredibly powerful and fast operating system.";;
kubuntu) INFO="Kubuntu|-|https://kubuntu.org/|Free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share.";;
linuxlite) INFO="Linux Lite|-|https://www.linuxliteos.com/|Your first simple, fast and free stop in the world of Linux.";;
@ -501,6 +502,7 @@ function os_support() {
haiku \
kali \
kdeneon \
kdelinux \
kolibrios \
kubuntu \
linuxlite \
@ -837,6 +839,10 @@ function releases_kdeneon() {
echo user testing unstable
}
function releases_kdelinux() {
echo latest
}
function releases_kolibrios() {
echo latest
}
@ -1675,6 +1681,15 @@ EOF
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
echo "ram=\"128M\"" >> "${CONF_FILE}"
;;
kdelinux)
# The installer image is a .raw file
echo "#!/usr/local/bin/quickemu --vm" > "${CONF_FILE}"
echo "guest_os=\"linux\"" >> "${CONF_FILE}"
qemu-img create -f qcow2 kdelinux-latest/disk.qcow2 50G
qemu-img convert -O qcow2 kdelinux-latest/kde-linux_* kdelinux-latest/kdelinux-installer.qcow2 # Convert the .raw file to a bootable .qcow2 file
echo "disk_img=\"kdelinux-latest/kdelinux-installer.qcow2\"" >> "${CONF_FILE}"
echo "extra_args=\"-drive file=kdelinux-latest/disk.qcow2,format=qcow2\"" >> "${CONF_FILE}"
;;
slint)
echo "disk_size=\"50G\"" >> "${CONF_FILE}"
;;
@ -2229,6 +2244,15 @@ function get_kdeneon() {
echo "${URL}/${ISO} ${HASH}"
}
function get_kdelinux() {
local HASH=""
local ISO=""
local URL="https://files.kde.org/kde-linux"
ISO=$(curl -s "${URL}/?C=M;O=D" | grep -o 'kde-linux_[0-9]\{12\}\.raw' | head -n1)
HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "$ISO" | awk '{print $1}')
echo "${URL}/${ISO} ${HASH}"
}
function get_kolibrios() {
local HASH=""
local ISO="latest-iso.7z"