# Template file for 'gentoo' OSNAME="gentoo" PRETTY="Gentoo" LOGO=" " ICON="gentoo.svg" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/gentoo.png" CATEGORY="advanced" BASEDOF="-" DESCRIPTION="Highly flexible, source-based Linux distribution" HOMEPAGE="https://www.gentoo.org" CREDENTIALS="-" GPG="" RSS="" DW="" MAGNET="" CHAT="" RELEASES="latest" EDITIONS="livegui minimal" QEMU_ARCH="amd64" releases_() { echo latest } editions_() { echo minimal livegui } get_() { local HASH="" local ISO="" local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds" case ${EDITION} in minimal) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1);; livegui) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1);; esac HASH=$(web_pipe "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1) echo "${URL}/${ISO} ${HASH}" } config_() { echo "disk_size=\"32G\"" >> "${CONF_FILE}" }