summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest/prepare.sh
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-01-04 08:36:55 +0100
committertv <tv@krebsco.de>2017-01-04 08:48:31 +0100
commit19f8234cef2934e0a0c43a28efbf9a057154c704 (patch)
treea3a408cf80885718ad0b370716bba506a9a511c7 /krebs/4lib/infest/prepare.sh
parent2b8f8363392a7b337b3f67ffae93719f15952754 (diff)
infest/prepare: touch /mnt/var/src/.populate
Diffstat (limited to 'krebs/4lib/infest/prepare.sh')
-rw-r--r--krebs/4lib/infest/prepare.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index 3068e2b00..3f5d66431 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -159,6 +159,8 @@ prepare_common() {(
mkdir -p /mnt/etc/nixos
mkdir -m 0555 -p /mnt/var/empty
+ mkdir -p /mnt/var/src
+ touch /mnt/var/src/.populate
if ! mount | grep -Fq "$rootpart on /mnt/root type "; then
mkdir -p /mnt/root