File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ preflight:
4242
4343# Build module
4444build : check-perms setup # # Build the specified module
45- time $(WRAPPER ) mkosi --force -I $(IMAGE ) .conf
45+ time $(WRAPPER ) mkosi --force -I $(patsubst % .conf, % , $( IMAGE ) ) .conf
4646
4747# Build module with devtools profile
4848build-dev : check-perms setup # # Build module with development tools
49- time $(WRAPPER ) mkosi --force --profile=devtools -I $(IMAGE ) .conf
49+ time $(WRAPPER ) mkosi --force --profile=devtools $( patsubst % .conf, % , $(IMAGE ) ) .conf
5050
5151# #@ Utilities
5252
@@ -60,7 +60,7 @@ check-repro: ## Build same module twice and compare resulting images
6060 @sleep 15
6161
6262 @echo "Building image # 1..."
63- time $(WRAPPER) mkosi --force -I $(IMAGE).conf
63+ time $(WRAPPER) mkosi --force -I $(patsubst %.conf,%,$( IMAGE) ).conf
6464 @mkdir -p build/cache
6565 @mv mkosi.builddir/* build/cache/
6666 @mv build build.1
@@ -71,7 +71,7 @@ check-repro: ## Build same module twice and compare resulting images
7171 @sleep 15
7272
7373 @echo "Building image # 2..."
74- time $(WRAPPER) mkosi --force -I $(IMAGE).conf
74+ time $(WRAPPER) mkosi --force -I $(patsubst %.conf,%,$( IMAGE) ).conf
7575 @mkdir -p build/cache
7676 @mv mkosi.builddir/* build/cache/
7777 @mv build build.2
You can’t perform that action at this time.
0 commit comments