Skip to content

Commit

Permalink
fixing disk config for new pi-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Nov 17, 2023
1 parent 1e3383f commit 076d04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ROOT_PASSWD ?= root
WEBUI_ADMIN_PASSWD ?= admin
IPMI_ADMIN_PASSWD ?= admin

export DISK ?= $(shell pwd)/disk/$(word 1,$(subst -, ,$(PLATFORM))).conf
export CARD ?= /dev/null
export IMAGE_XZ ?=

Expand Down Expand Up @@ -56,7 +57,6 @@ shell: $(_BUILDER_DIR)
os: $(_BUILDER_DIR)
rm -rf $(_BUILDER_DIR)/stages/arch/{pikvm,pikvm-otg-console}
cp -a stages/arch/{pikvm,pikvm-otg-console} $(_BUILDER_DIR)/stages/arch
cp -L disk/$(word 1,$(subst -, ,$(PLATFORM))).conf $(_BUILDER_DIR)/disk.conf
$(MAKE) -C $(_BUILDER_DIR) os \
BUILD_OPTS=' $(BUILD_OPTS) \
--build-arg PLATFORM=$(PLATFORM) \
Expand Down

0 comments on commit 076d04c

Please sign in to comment.