|
|
@ -127,6 +127,8 @@ function list_csv() { |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
|
|
|
|
elif [ "${OS}" == "gentoo" ]; then |
|
|
|
|
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
else |
|
|
|
else |
|
|
@ -879,13 +881,19 @@ function get_gentoo() { |
|
|
|
local HASH="" |
|
|
|
local HASH="" |
|
|
|
local ISO="" |
|
|
|
local ISO="" |
|
|
|
local URL="" |
|
|
|
local URL="" |
|
|
|
|
|
|
|
local LOCAT="" |
|
|
|
|
|
|
|
local INSTALLMIN="" |
|
|
|
|
|
|
|
|
|
|
|
validate_release "releases_gentoo" |
|
|
|
validate_release "releases_gentoo" |
|
|
|
ISO="gentoo-${RELEASE}-amd64.iso" |
|
|
|
eval $( wget -O/tmp/gentoolatest https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/${RELEASE}-iso.txt 2>&1 |grep Location | awk '{print "LOCAT="$2}' ) |
|
|
|
URL="https://www.gentoo.org/download/${ISO}" |
|
|
|
LOCAT=$(dirname ${LOCAT}) |
|
|
|
|
|
|
|
eval $( awk '/admincd-amd64/ {print "ADMIN="$1}; /install-amd64-minimal/ {print "INSTALLMIN="$1}' /tmp/gentoolatest ) |
|
|
|
|
|
|
|
URL="${LOCAT}/${INSTALLMIN}" |
|
|
|
|
|
|
|
ISO=$(basename "${INSTALLMIN}" ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
web_get "${URL}" "${VM_PATH}" |
|
|
|
web_get "${URL}" "${VM_PATH}" |
|
|
|
web_get "${URL}/SHA256SUMS" "${VM_PATH}" |
|
|
|
HASH=$(wget -q -O- ${LOCAT}/${INSTALLMIN}.DIGESTS|grep -e iso|grep -v -e CONT -e catalyst|cut -d\ -f1) |
|
|
|
HASH=$(cat "${VM_PATH}/SHA256SUMS" | cut -d' ' -f1) |
|
|
|
|
|
|
|
check_hash "${ISO}" "${HASH}" |
|
|
|
check_hash "${ISO}" "${HASH}" |
|
|
|
make_vm_config "${ISO}" |
|
|
|
make_vm_config "${ISO}" |
|
|
|
} |
|
|
|
} |
|
|
|