systemd is now pulled in/updated in the original container already, so
move the umounting earlier.
Also drop the deb.debian.org rewriting. Current VPN/DNS setup does the
right thing, and the changed apt sources format does not match this any
more.
# go-faster apt/dpkg
echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io
-# location based redirector gets it wrong with company VPN; also add deb-src
-sed -i "s/deb.debian.org/ftp.de.debian.org/; /^deb\b/ { p; s/^deb/deb-src/ }" /etc/apt/sources.list
+# otherwise installing systemd fails
+umount /var/log/journal
apt-get update
apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin
'
toolbox run --container $RELEASE sh -exc '
-# otherwise installing systemd fails
-sudo umount /var/log/journal
-
# useful hostname
. /etc/os-release
echo "${ID}-${VERSION_ID:-sid}" | sudo tee /etc/hostname