make_mirror.sh: force systemd to not mount /tmp as tmpfs

Since systemd 256~rc3-3, /tmp is mounted as tmpfs by default. This
breaks our tests because /tmp is mounted with nodev which makes it
impossible for debootstrap to mknod.
This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-06-02 08:44:21 +02:00
parent 821c2e1328
commit 5f491f2955
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -550,6 +550,7 @@ END
--customize-hook='copy-in "'"$tmpdir"'/worker.sh" /' \
--customize-hook='echo 127.0.0.1 localhost > "$1/etc/hosts"' \
--customize-hook='printf "START=1\nDAEMON_OPTS=\"-h 127.0.0.1 -p 80 -u nobody -dd /mnt/cache -i /var/run/mini-httpd.pid -T UTF-8\"\n" > "$1/etc/default/mini-httpd"' \
--customize-hook='touch "$1/etc/systemd/system/tmp.mount"' \
"$mirror"
kill $PROXYPID