From 0dbdd53676c3159bb65135695e65e483309ea37f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 12 Jul 2022 23:42:02 +0200 Subject: [PATCH] - create rootfs tarballs for coolstream images --- make/target-rootfs.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/make/target-rootfs.mk b/make/target-rootfs.mk index 528a3528..1959af71 100644 --- a/make/target-rootfs.mk +++ b/make/target-rootfs.mk @@ -83,6 +83,9 @@ personalize: | $(TARGET_DIR) # ----------------------------------------------------------------------------- rootfs: target-finish $(ROOTFS) rootfs-cleanup rootfs-strip +ifeq ($(BOXTYPE),coolstream) + make rootfs-tarball +endif # ----------------------------------------------------------------------------- @@ -152,6 +155,14 @@ endif # ----------------------------------------------------------------------------- +ROOTFS_TARBALL = $(IMAGE_DIR)/$(IMAGE_NAME)-rootfs.tgz + +rootfs-tarball: $(ROOTFS_TARBALL) +$(ROOTFS_TARBALL): + tar cf $(@) -C $(ROOTFS) . + +# ----------------------------------------------------------------------------- + PHONY += target-finish PHONY += .version $(TARGET_DIR)/.version PHONY += update.urls $(TARGET_localstatedir)/etc/update.urls