summaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile
index 9c9e614a..e82fddcc 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -53,9 +53,13 @@ dist-links:
touch $(dist-root)/servers/exec
endif
+# Where to get files for the floppies from.
+bfloppy-src=$(firstword $(dist-root) /)
+
bfloppy.ext2: mkfsimage bfloppy.copy
- ./mkfsimage bfloppy.ext2 \
- / --copy-rules=$(srcdir)/bfloppy.copy \
- $(srcdir) --copy-rules=$(srcdir)/bfloppy-special.copy
+ ./mkfsimage $@ --owner=root.wheel \
+ $(bfloppy-src) --copy-rules=$(srcdir)/bfloppy.copy \
+ $(srcdir) --copy-rules=$(srcdir)/bfloppy-special.copy
rfloppy.ext2.gz: mkfsimage rfloppy.copy
- ./mkfsimage --compress rfloppy.ext2.gz / --copy-rules=$(srcdir)/rfloppy.copy
+ ./mkfsimage $@ --compress --owner=root.wheel \
+ $(bfloppy-src) --copy-rules=$(srcdir)/rfloppy.copy