summary refs log tree commit diff
path: root/vm/app/catgirl
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-04-28 17:33:14 +0000
committerAlyssa Ross <hi@alyssa.is>2022-04-28 17:34:17 +0000
commit75d2f40704178a78eb1e050fdf6a8c377fee55e4 (patch)
tree3c61887d03699de282b6fddc5189aa08397bdcfc /vm/app/catgirl
parentc10824f46e69824f6db10f5d69125f2b40ad1457 (diff)
downloadspectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar.gz
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar.bz2
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar.lz
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar.xz
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.tar.zst
spectrum-75d2f40704178a78eb1e050fdf6a8c377fee55e4.zip
Create /etc/s6-linux-init/env/ to silence warning
Diffstat (limited to 'vm/app/catgirl')
-rw-r--r--vm/app/catgirl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/vm/app/catgirl/Makefile b/vm/app/catgirl/Makefile
index 0d90a01..1c5a37c 100644
--- a/vm/app/catgirl/Makefile
+++ b/vm/app/catgirl/Makefile
@@ -48,6 +48,9 @@ VM_FILES = \
 	etc/passwd \
 	etc/resolv.conf \
 	etc/s6-linux-init/scripts/rc.init
+VM_DIRS = dev run proc sys \
+	etc/s6-linux-init/env \
+	etc/s6-linux-init/run-image/service
 
 # These are separate because they need to be included, but putting
 # them as make dependencies would confuse make.
@@ -64,11 +67,9 @@ build/rootfs.tar: build/empty $(PACKAGES_TAR) $(VM_FILES) $(VM_BUILD_FILES)
 	tar $(TARFLAGS) --append -f $@ $(VM_FILES) $(VM_LINKS)
 	echo $(VM_BUILD_FILES) | cut -d/ -f2 | \
 	    tar $(TARFLAGS) --append -f $@ -C build -T -
-	for m in $(VM_MOUNTPOINTS); do \
+	for m in $(VM_DIRS); do \
 	    tar $(TARFLAGS) --append -hf $@ --xform="s,.*,$$m," build/empty ; \
 	done
-	tar $(TARFLAGS) --append -hf $@ \
-	    --xform='s,.*,etc/s6-linux-init/run-image/service,' build/empty
 
 VM_S6_RC_FILES = \
 	etc/s6-rc/catgirl/run \