From 5f491f29550b7fb865950c49ae80bf58e756298e Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sun, 2 Jun 2024 08:44:21 +0200 Subject: [PATCH] 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. --- make_mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make_mirror.sh b/make_mirror.sh index 442b3ce..419503b 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -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