sources-final 846 Bytes
Newer Older
Jonathan Carter's avatar
Jonathan Carter committed
1
2
3
4
5
6
7
8
#!/bin/bash

CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")

cat <<EOF > $CHROOT/etc/apt/sources.list
## Debian

# Main
Jonathan Carter's avatar
Jonathan Carter committed
9
10
deb http://deb.debian.org/debian bullseye main
#deb-src http://deb.debian.org/debian bullseye main
Jonathan Carter's avatar
Jonathan Carter committed
11
12

# Updates
Jonathan Carter's avatar
Jonathan Carter committed
13
14
deb http://deb.debian.org/debian bullseye-updates main
#deb-src http://deb.debian.org/debian bullseye-updates main
Jonathan Carter's avatar
Jonathan Carter committed
15
16

# Backports (cherrypick only!)
Jonathan Carter's avatar
Jonathan Carter committed
17
18
deb http://deb.debian.org/debian bullseye-backports main
#deb-src http://deb.debian.org/debian bullseye-backports main
Jonathan Carter's avatar
Jonathan Carter committed
19
20

# Security (unattended upgrades)
21
deb http://security.debian.org/debian-security bullseye-security main
Jonathan Carter's avatar
Jonathan Carter committed
22
#deb-src http://security.debian.org/ bullseye/updates main
Jonathan Carter's avatar
Jonathan Carter committed
23
24
25
26


## AIMS Desktop

Jonathan Carter's avatar
Jonathan Carter committed
27
28
deb http://ppa.aims.ac.za/aims-ppa bullseye main restricted
#deb-src http://ppa.aims.ac.za/aims-ppa bullseye main restricted
Jonathan Carter's avatar
Jonathan Carter committed
29
EOF