summaryrefslogtreecommitdiff
path: root/patchroot.sh
blob: 8bd3269edce2f6e4562452024213e7bd59ddf983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
echo samizdat > /etc/hostname

. /etc/os-release

cat <<END > /etc/apt/sources.list
deb  http://httpredir.debian.org/debian  ${VERSION_CODENAME}            main  #contrib  non-free
deb  http://security.debian.org          ${VERSION_CODENAME}/updates    main  #contrib  non-free
#deb http://httpredir.debian.org/debian  ${VERSION_CODENAME}-backports  main  #contrib  non-free
END

#apt-get update
cat /var/lib/apt/lists/*_Packages | dpkg --update-avail -

#apt-get -yd install baresip
apt-mark install baresip