Debian Codegraph @

helpers/calamares-sources-final

raw
1 #!/bin/sh
2 #
3 # Writes the final sources.list file
4 #
5
6 CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
7 RELEASE="trixie"
8
9 cat << EOF > $CHROOT/etc/apt/sources.list
10 # See https://wiki.debian.org/SourcesList for more information.
11 deb http://deb.debian.org/debian $RELEASE main non-free-firmware
12 deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
13
14 deb http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
15 deb-src http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
16
17 deb http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
18 deb-src http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
19
20 # Backports allow you to install newer versions of software made available for this release
21 deb http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
22 deb-src http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
23 EOF
24
25 exit 0