Skip to content

Commit 0dff9e3

Browse files
committed
Allow customizing the ROOTFS_DIR and CPIO_FILE variables
1 parent d846e82 commit 0dff9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ tools-vm_clean:
241241
ROOTFS_PARENT_DIR := $(ROOT_DIR)/rootfs
242242
ROOTFS ?= $(ROOTFS_PARENT_DIR)/rootfs-$(ARCH).img
243243
ROOTFS_FORMAT ?= qcow2
244-
ROOTFS_DIR := $(ROOTFS_PARENT_DIR)/alpine-$(ARCH)
244+
ROOTFS_DIR ?= $(ROOTFS_PARENT_DIR)/alpine-$(ARCH)
245245
INITRAMFS_DIR ?= $(ROOTFS_DIR)
246-
CPIO_FILE := $(ROOTFS_PARENT_DIR)/$$(basename $(INITRAMFS_DIR)).cpio.gz
246+
CPIO_FILE ?= $(ROOTFS_PARENT_DIR)/$$(basename $(INITRAMFS_DIR)).cpio.gz
247247
EXT4_SIZE ?= 1G
248248

249249
$(ROOTFS_DIR):

0 commit comments

Comments
 (0)