pack: add squash to the list of ve archive formats

This commit is contained in:
Gleb Fotengauer-Malinovskiy 2021-07-24 14:49:09 +03:00 committed by Anton Midyukov
parent 0922d9f668
commit e135f4bef0
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@ ifeq (cpio,$(IMAGE_PACKTYPE))
MKI_CPIO_COMPRESS = $(IMAGE_COMPRESS)
endif
ifeq (squash,$(IMAGE_PACKTYPE))
pack-image: CLEANUP_OUTDIR=
endif
# some VEs _can_ contain kernels (think ARM multiboot
# but this can also help VE/VM hybrid images)
IMAGE_PACKAGES = $(DOT_BASE) \

View File

@ -15,7 +15,7 @@ use/pack/iso: use/pack
@$(call try,IMAGE_PACKTYPE,isodata)
# virtual environments
VE_ARCHIVES := tar cpio ubifs
VE_ARCHIVES := squash tar cpio ubifs
VE_COMPRESSORS := gz xz# there's no sense in bzip2 by now
VE_ZIPS := $(call addsuffices, \
$(addprefix .,$(VE_COMPRESSORS)), \