From: Florian Fainelli Date: Tue, 4 Dec 2012 22:59:05 +0000 (+0000) Subject: Revert "include/image.mk: call Image/Build/{cpiogz,targz}" X-Git-Tag: reboot~12104 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=569806270732bee9ac1dbbf5a09f8913e6da9c4a;p=oweals%2Fopenwrt.git Revert "include/image.mk: call Image/Build/{cpiogz,targz}" This breaks on platforms building their own targz/cpioz images. Signed-off-by: Florian Fainelli SVN-Revision: 34498 --- diff --git a/include/image.mk b/include/image.mk index 7758c9a90a..503115ddb0 100644 --- a/include/image.mk +++ b/include/image.mk @@ -109,7 +109,6 @@ endif ifneq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),) define Image/mkfs/cpiogz ( cd $(TARGET_DIR); find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/$(IMG_PREFIX)-rootfs.cpio.gz ) - $(call Image/Build,cpiogz) endef endif @@ -117,7 +116,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),) define Image/mkfs/targz # Preserve permissions (-p) when building as non-root user $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . - $(call Image/Build,targz) endef endif