From 04765b26650343d928a5b1d7600748a4b7d78f38 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 5 May 2020 19:28:39 -0400 Subject: fail better if "fsmgr" is not available --- rootfs/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootfs/Makefile b/rootfs/Makefile index 9bb30a0..1dbbc9c 100644 --- a/rootfs/Makefile +++ b/rootfs/Makefile @@ -1,4 +1,9 @@ fsmgr := $(shell which fsmgr) + +ifeq ($(fsmgr),) +$(error "no fsmgr") +endif + sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) rootfs = samizdat -- cgit v1.2.3