blob: 33f9c1f8c3ea12f30b1db754932d2689963db64c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
apt -q update||exit 1
apt -yqq dist-upgrade||exit 1
apt -yq install ksh make sudo node-util shellcheck locales git >/dev/null 2>&1||exit 1
sed -i 's/^#.*\(en-IE.UTF-8\)/\1/g' /etc/locale.gen||exit 1
echo ": \"\${LANG:=en_IE.UTF-8}\"; export LANG">>/etc/profile.d/lang
locale-gen||exit 1
cp -vpR fakeenv/* /
# whyever the docker container comes up with world writable stuff...
# "it doesn't work? SOLUTION CHMOD 777 DERP DURP"
# assumption 1: cp above was without "-p", and default umask might be 000
# answer 1: seems the docker does not give a sheet about cp -p
for i in localfs/ fakeenv/ /;do chmod -R o-w "$i"etc/systemd/system;done
systemctl unmask systemd-timesyncd.service; systemctl disable systemd-timesyncd.service
|