diff options
author | Jooyung Han <jooyung@google.com> | 2023-06-16 07:30:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-06-16 07:30:28 +0000 |
commit | 4941f6fd47be2b031c2983d521d36983fc3993b9 (patch) | |
tree | 78cb600b248a9909600ba443be5bb7d5311dfc61 | |
parent | 514a12d7afd62f68fe32fb231feca89f8df4468c (diff) | |
parent | e4635b3e04b8f2b8248adc4efb16e4cd99259391 (diff) | |
download | build-4941f6fd47be2b031c2983d521d36983fc3993b9.tar.gz |
Merge "Remove --blkid_path argument" am: e4635b3e04
Original change: https://android-review.googlesource.com/c/platform/build/+/2624574
Change-Id: Icb064093d587479713e7da5bd670d4cb36f977a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | core/Makefile | 1 | ||||
-rw-r--r-- | tools/releasetools/apex_utils.py | 9 | ||||
-rwxr-xr-x | tools/releasetools/check_target_files_vintf.py | 3 | ||||
-rw-r--r-- | tools/releasetools/merge/merge_dexopt.py | 2 |
4 files changed, 1 insertions, 14 deletions
diff --git a/core/Makefile b/core/Makefile index 731dbaa338..6dbbef1dd6 100644 --- a/core/Makefile +++ b/core/Makefile @@ -5297,7 +5297,6 @@ INTERNAL_OTATOOLS_MODULES := \ INTERNAL_OTATOOLS_MODULES += \ apexer \ apex_compression_tool \ - blkid_static \ deapexer \ debugfs_static \ dump_apex_info \ diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 59c712e5a4..bfc87b8826 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -65,8 +65,6 @@ class ApexApkSigner(object): OPTIONS.search_path, "bin", "debugfs_static") self.fsckerofs_path = os.path.join( OPTIONS.search_path, "bin", "fsck.erofs") - self.blkid_path = os.path.join( - OPTIONS.search_path, "bin", "blkid_static") self.avbtool = avbtool if avbtool else "avbtool" self.sign_tool = sign_tool @@ -129,15 +127,10 @@ class ApexApkSigner(object): "Couldn't find location of fsck.erofs: " + "Path {} does not exist. ".format(self.fsckerofs_path) + "Make sure bin/fsck.erofs can be found in -p <path>") - if not os.path.exists(self.blkid_path): - raise ApexSigningError( - "Couldn't find location of blkid: " + - "Path {} does not exist. ".format(self.blkid_path) + - "Make sure bin/blkid can be found in -p <path>") payload_dir = common.MakeTempDir() extract_cmd = ['deapexer', '--debugfs_path', self.debugfs_path, '--fsckerofs_path', self.fsckerofs_path, - '--blkid_path', self.blkid_path, 'extract', + 'extract', self.apex_path, payload_dir] common.RunAndCheckOutput(extract_cmd) assert os.path.exists(self.apex_path) diff --git a/tools/releasetools/check_target_files_vintf.py b/tools/releasetools/check_target_files_vintf.py index 5b71c726a8..906ad1f35b 100755 --- a/tools/releasetools/check_target_files_vintf.py +++ b/tools/releasetools/check_target_files_vintf.py @@ -232,12 +232,10 @@ def PrepareApexDirectory(inp): deapexer = 'deapexer' debugfs_path = 'debugfs' - blkid_path = 'blkid' fsckerofs_path = 'fsck.erofs' if OPTIONS.search_path: debugfs_path = os.path.join(OPTIONS.search_path, 'bin', 'debugfs_static') deapexer_path = os.path.join(OPTIONS.search_path, 'bin', 'deapexer') - blkid_path = os.path.join(OPTIONS.search_path, 'bin', 'blkid_static') fsckerofs_path = os.path.join(OPTIONS.search_path, 'bin', 'fsck.erofs') if os.path.isfile(deapexer_path): deapexer = deapexer_path @@ -263,7 +261,6 @@ def PrepareApexDirectory(inp): cmd = [deapexer, '--debugfs_path', debugfs_path, '--fsckerofs_path', fsckerofs_path, - '--blkid_path', blkid_path, 'extract', apex, os.path.join(outp, info['name'])] diff --git a/tools/releasetools/merge/merge_dexopt.py b/tools/releasetools/merge/merge_dexopt.py index 16182b5cbb..1dd591b743 100644 --- a/tools/releasetools/merge/merge_dexopt.py +++ b/tools/releasetools/merge/merge_dexopt.py @@ -164,8 +164,6 @@ def MergeDexopt(temp_dir, output_target_files_dir): 'deapexer', '--debugfs_path', 'debugfs_static', - '--blkid_path', - 'blkid', '--fsckerofs_path', 'fsck.erofs', 'extract', |