diff options
author | Andrew Cady <d@jerkface.net> | 2019-10-06 18:24:11 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-10-06 20:57:52 -0400 |
commit | 726968c22c2e5746258a0b7930f4946c7b896fe0 (patch) | |
tree | a7a1ec6da0c679d2f8c761e6058f01310cd8ea59 /rootfs/Makefile | |
parent | 9edda48c7263f2f02d289267be2ae750a6909214 (diff) |
allow using alternative rootfs image via rootfs= parameter
Diffstat (limited to 'rootfs/Makefile')
-rw-r--r-- | rootfs/Makefile | 4 |
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 @@ | |||
1 | fsmgr := $(shell which fsmgr) | 1 | fsmgr := $(shell which fsmgr) |
2 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) | 2 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) |
3 | 3 | ||
4 | rootfs = samizdat | ||
5 | |||
4 | all: | 6 | all: |
5 | $(sudo) $(fsmgr) build samizdat | 7 | $(sudo) $(fsmgr) build $(rootfs) |