summary refs log tree commit diff
path: root/host/rootfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'host/rootfs/Makefile')
-rw-r--r--host/rootfs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/rootfs/Makefile b/host/rootfs/Makefile
index 2f31499..005702a 100644
--- a/host/rootfs/Makefile
+++ b/host/rootfs/Makefile
@@ -37,13 +37,13 @@ FILES = \
 	usr/bin/vm-console \
 	usr/bin/vm-start \
 	usr/bin/vm-stop
+DIRS = dev etc/s6-linux-init/env ext run proc sys
 
 # These are separate because they need to be included, but putting
 # them as make dependencies would confuse make.
 LINKS = bin sbin
 
 BUILD_FILES = build/etc/mdev/modalias.sh build/etc/s6-rc
-MOUNTPOINTS = dev ext run proc sys
 
 build/empty:
 	mkdir -p $@
@@ -53,7 +53,7 @@ build/rootfs.tar: build/empty $(PACKAGES_TAR) $(FILES) $(BUILD_FILES)
 	tar $(TARFLAGS) --append -f $@ $(FILES) $(LINKS)
 	echo $(BUILD_FILES) | cut -d/ -f2 | \
 	    tar $(TARFLAGS) --append -f $@ -C build -T -
-	for m in $(MOUNTPOINTS); do \
+	for m in $(DIRS); do \
 	    tar $(TARFLAGS) --append -hf $@ --xform="s,.*,$$m," build/empty ; \
 	done