Commit 8f650d53 authored by Anton Midyukov's avatar Anton Midyukov

build-vm: add /root/.install-log/diskinfo to rootfs

We specify the name of the target being collected so that these images cannot be confused with those installed from iso.
parent e5f03c9d
# step 4: build the virtual machine image # step 4: build the virtual machine image
DATE_F := $(shell date +%F)
IMAGE_PACKAGES = $(DOT_BASE) \ IMAGE_PACKAGES = $(DOT_BASE) \
$(SYSTEM_PACKAGES) \ $(SYSTEM_PACKAGES) \
$(COMMON_PACKAGES) \ $(COMMON_PACKAGES) \
...@@ -106,6 +108,10 @@ run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES) ...@@ -106,6 +108,10 @@ run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)
# override # override
pack-image: MKI_PACK_RESULTS := tar:$(VM_TARBALL) pack-image: MKI_PACK_RESULTS := tar:$(VM_TARBALL)
all: $(GLOBAL_DEBUG) \ dot-disk:
@mkdir -p files/root/.install-log
@echo "vm/$(IMAGE_NAME)/$(ARCH) build $(DATE_F)" >files/root/.install-log/diskinfo
all: $(GLOBAL_DEBUG) dot-disk \
build-image copy-subdirs copy-tree run-image-patches run-image-scripts \ build-image copy-subdirs copy-tree run-image-patches run-image-scripts \
pack-image convert-image postprocess $(GLOBAL_CLEAN_WORKDIR) pack-image convert-image postprocess $(GLOBAL_CLEAN_WORKDIR)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment