summaryrefslogtreecommitdiffstats
path: root/setup_container
blob: 8666f1dd554a331bad9b9ead141ecbe89a41b5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cat <<EOF >> /etc/apt/sources.list

deb http://ftp.us.debian.org/debian wheezy main
deb http://ftp.us.debian.org/debian wheezy-backports main
deb http://deb.tails.boum.org/ builder-wheezy main
EOF

cat <<EOF > /etc/apt/preferences.d/tails.pref
Package: *
Pin: release o=Debian,n=wheezy
Pin-Priority: 990
EOF

mkdir /etc/live
cat <<EOF > /etc/live/build.conf
LB_PARENT_MIRROR_BINARY="http://ftp.us.debian.org/debian/"
LB_MIRROR_BINARY="http://ftp.us.debian.org/debian/"
EOF

echo -e '\nexport TAILS_BUILD_OPTIONS="noproxy"' >> /etc/profile