ee5dd31a71
Classic VEs don't carry any kernel since these are running under a single OpenVZ (or potentially LXC) kernel image; ARM Multiboot (TWRP in this particular case) allows to boot off a chroot via kexec, and we need a kernel in it for that, obviously. No bootloader required inside such VE though.
22 lines
572 B
Makefile
22 lines
572 B
Makefile
# step 4: build the virtual environment image
|
|
|
|
ifeq (tar,$(IMAGE_PACKTYPE))
|
|
MKI_TAR_COMPRESS = $(IMAGE_COMPRESS)
|
|
endif
|
|
|
|
ifeq (cpio,$(IMAGE_PACKTYPE))
|
|
MKI_CPIO_COMPRESS = $(IMAGE_COMPRESS)
|
|
endif
|
|
|
|
# some VEs _can_ contain kernels (think ARM multiboot
|
|
# but this can also help VE/VM hybrid images)
|
|
IMAGE_PACKAGES = $(DOT_BASE) \
|
|
$(SYSTEM_PACKAGES) \
|
|
$(COMMON_PACKAGES) \
|
|
$(BASE_PACKAGES) \
|
|
$(THE_PACKAGES) \
|
|
$(call list,$(BASE_LISTS) $(THE_LISTS))
|
|
|
|
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
|
|
postprocess $(GLOBAL_CLEAN_WORKDIR)
|