Changeset 34439


Ignore:
Timestamp:
2012-12-02T13:20:43+01:00 (5 years ago)
Author:
jow
Message:

imagebuilder: use file_copy to deploy files/ in the image generation phase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/imagebuilder/files/Makefile

    r34301 r34439  
    135135        @echo 
    136136        @echo Copying extra files 
    137         @( cd $(USER_FILES); find -type f ) | \ 
    138                 ( cd $(TARGET_DIR); while :; do \ 
    139                         read FILE; \ 
    140                         [ -z "$$FILE" ] && break; \ 
    141                         [ -L "$$FILE" ] || continue; \ 
    142                         echo "Removing symlink $(TARGET_DIR)/$$FILE"; \ 
    143                         rm -f "$$FILE"; \ 
    144                 done; ) 
    145         $(CP) $(USER_FILES)/* $(TARGET_DIR)/ 
     137        @$(call file_copy,$(USER_FILES)/*,$(TARGET_DIR)/) 
    146138 
    147139package_postinst: FORCE 
Note: See TracChangeset for help on using the changeset viewer.