add deb-src
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:19:03 +0000 (06:19 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:19:03 +0000 (06:19 +0100)
mk-deb-chroot

index 91b0a1e92c5b2abf464e8905362c8857ab323fdc..6267491c339a010ff4aa93bf9311fe7b0257624a 100755 (executable)
@@ -57,6 +57,10 @@ useradd -m -p `python -c 'import crypt; print crypt.crypt("1234","Fx")'` -s /bin
 echo -e "
 Added user ${SUDO_USER} with \e[1;91mpassword: 1234\e[0m"
 
+# add deb-src to sources
+echo deb-src http://ftp.debian.org/debian buster main > \
+        /etc/apt/sources.list.d/bustersrc.list
+
 echo -e "
 \e[1;91mPlease use command 'passwd ${SUDO_USER}' to change this immediately after this script is run for security purposes.\e[0m
 "