calamares-settings-tileos/helpers/calamares-sources-final
2025-05-28 16:34:28 +04:00

25 lines
989 B
Bash
Executable file

#!/bin/sh
#
# Writes the final sources.list file
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="trixie"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian $RELEASE main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
deb http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
EOF
exit 0