forked from josch/mmdebstrap
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:
parent
821c2e1328
commit
5f491f2955
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue