summaryrefslogtreecommitdiff
path: root/rootfs
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-06 18:24:11 -0400
committerAndrew Cady <d@jerkface.net>2019-10-06 20:57:52 -0400
commit726968c22c2e5746258a0b7930f4946c7b896fe0 (patch)
treea7a1ec6da0c679d2f8c761e6058f01310cd8ea59 /rootfs
parent9edda48c7263f2f02d289267be2ae750a6909214 (diff)
allow using alternative rootfs image via rootfs= parameter
Diffstat (limited to 'rootfs')
-rw-r--r--rootfs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootfs/Makefile b/rootfs/Makefile
index 8ddebcf..9bb30a0 100644
--- a/rootfs/Makefile
+++ b/rootfs/Makefile
@@ -1,5 +1,7 @@
1fsmgr := $(shell which fsmgr) 1fsmgr := $(shell which fsmgr)
2sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) 2sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo)
3 3
4rootfs = samizdat
5
4all: 6all:
5 $(sudo) $(fsmgr) build samizdat 7 $(sudo) $(fsmgr) build $(rootfs)