mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
40 lines
969 B
Text
40 lines
969 B
Text
# Template file for 'tinycore'
|
|
OSNAME="tinycore"
|
|
PRETTY="Tiny Core Linux"
|
|
LOGO=""
|
|
ICON="tinycore.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/tinycore.png"
|
|
CATEGORY="Lightweight"
|
|
BASEDOF="-"
|
|
HOMEPAGE="http://www.tinycorelinux.net"
|
|
DESCRIPTION="Highly modular based system with community build extensions"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
|
|
function releases_() {
|
|
echo 15 14
|
|
}
|
|
|
|
function editions_() {
|
|
echo Core TinyCore CorePlus CorePure64 TinyCorePure64
|
|
}
|
|
|
|
function get_() {
|
|
local ARCH="x86"
|
|
local HASH=""
|
|
local ISO="${EDITION}-${RELEASE}.0.iso"
|
|
case "${EDITION}" in
|
|
*Pure*) ARCH+="_64";;
|
|
esac
|
|
# tinycorelinux.net not stable enough
|
|
#local URL="http://www.tinycorelinux.net/${RELEASE}.x/${ARCH}/release"
|
|
local URL="https://distro.ibiblio.org/tinycorelinux/${RELEASE}.x/${ARCH}/release"
|
|
HASH=$(web_pipe "${URL}/${ISO}.md5.txt" | cut -d' ' -f1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|
|
|
|
function config_() {
|
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
}
|