Changeset 38374


Ignore:
Timestamp:
2013-10-12T23:44:46+02:00 (4 years ago)
Author:
luka
Message:

image: if possible use profile name when building .tar.gz images

Signed-off-by: Luka Perkov <luka@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r38303 r38374  
    142142  define Image/mkfs/targz 
    143143                # Preserve permissions (-p) when building as non-root user 
    144                 $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . 
     144                $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE),-$(PROFILE))-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . 
    145145  endef 
    146146endif 
Note: See TracChangeset for help on using the changeset viewer.