projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6ec61
)
add deb-src
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 2 May 2021 05:19:03 +0000
(06:19 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 2 May 2021 05:19:03 +0000
(06:19 +0100)
mk-deb-chroot
patch
|
blob
|
history
diff --git
a/mk-deb-chroot
b/mk-deb-chroot
index 91b0a1e92c5b2abf464e8905362c8857ab323fdc..6267491c339a010ff4aa93bf9311fe7b0257624a 100755
(executable)
--- a/
mk-deb-chroot
+++ b/
mk-deb-chroot
@@
-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
"