Merge "Place the META/ dir first in the target_files.zip."
am: 2857b7a3d7
* commit '2857b7a3d7e2057cf60db36a528358a58a8711bc':
Place the META/ dir first in the target_files.zip.
This commit is contained in:
@@ -1725,8 +1725,11 @@ ifeq ($(BREAKPAD_GENERATE_SYMBOLS),true)
|
|||||||
@# If breakpad symbols have been generated, add them to the zip.
|
@# If breakpad symbols have been generated, add them to the zip.
|
||||||
$(hide) $(ACP) -r $(TARGET_OUT_BREAKPAD) $(zip_root)/BREAKPAD
|
$(hide) $(ACP) -r $(TARGET_OUT_BREAKPAD) $(zip_root)/BREAKPAD
|
||||||
endif
|
endif
|
||||||
@# Zip everything up, preserving symlinks
|
@# Zip everything up, preserving symlinks and placing META/ files first to
|
||||||
$(hide) (cd $(zip_root) && zip -qryX ../$(notdir $@) .)
|
@# help early validation of the .zip file while uploading it.
|
||||||
|
$(hide) (cd $(zip_root) && \
|
||||||
|
zip -qryX ../$(notdir $@) ./META && \
|
||||||
|
zip -qryXu ../$(notdir $@) .)
|
||||||
@# Run fs_config on all the system, vendor, boot ramdisk,
|
@# Run fs_config on all the system, vendor, boot ramdisk,
|
||||||
@# and recovery ramdisk files in the zip, and save the output
|
@# and recovery ramdisk files in the zip, and save the output
|
||||||
$(hide) zipinfo -1 $@ | awk 'BEGIN { FS="SYSTEM/" } /^SYSTEM\// {print "system/" $$2}' | $(HOST_OUT_EXECUTABLES)/fs_config -C -D $(TARGET_OUT) -S $(SELINUX_FC) > $(zip_root)/META/filesystem_config.txt
|
$(hide) zipinfo -1 $@ | awk 'BEGIN { FS="SYSTEM/" } /^SYSTEM\// {print "system/" $$2}' | $(HOST_OUT_EXECUTABLES)/fs_config -C -D $(TARGET_OUT) -S $(SELINUX_FC) > $(zip_root)/META/filesystem_config.txt
|
||||||
|
Reference in New Issue
Block a user