From: Luka Perkov Date: Sat, 12 Oct 2013 21:44:46 +0000 (+0000) Subject: image: if possible use profile name when building .tar.gz images X-Git-Tag: reboot~8964 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05625233edb53fb9bcf053b35bcb3e6d4e2233b5;p=openwrt%2Fstaging%2Fnoltari.git image: if possible use profile name when building .tar.gz images Signed-off-by: Luka Perkov SVN-Revision: 38374 --- diff --git a/include/image.mk b/include/image.mk index e0731f0895..f5f1c8fb54 100644 --- a/include/image.mk +++ b/include/image.mk @@ -141,7 +141,7 @@ endif 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)/ . + $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE),-$(PROFILE))-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . endef endif