summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-05 19:28:39 -0400
committerAndrew Cady <d@jerkface.net>2020-05-05 19:28:39 -0400
commit04765b26650343d928a5b1d7600748a4b7d78f38 (patch)
treebb66f65baf2992f3c27ab6b390210ea755a0d246
parentef561d2ac23088a77eea0881f91ab063025c8f2d (diff)
fail better if "fsmgr" is not available
-rw-r--r--rootfs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootfs/Makefile b/rootfs/Makefile
index 9bb30a0..1dbbc9c 100644
--- a/rootfs/Makefile
+++ b/rootfs/Makefile
@@ -1,4 +1,9 @@
1fsmgr := $(shell which fsmgr) 1fsmgr := $(shell which fsmgr)
2
3ifeq ($(fsmgr),)
4$(error "no fsmgr")
5endif
6
2sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) 7sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo)
3 8
4rootfs = samizdat 9rootfs = samizdat