From d7fdfa181e9bd5694be11934023f82f9ebc700a9 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Fri, 23 Feb 2018 17:18:32 +0800 Subject: [PATCH] Fix system-as-root detection on Pi From Pi, the manifest.xml had been moved from system folder, so remove this file from system-as-root detection. Bug: 73799919 Test: gsi_util dump --system some-aosp_arm64_ab-on-pi.img Change-Id: I77e024d1200c46eb3bcdf6a853e1e02ae1493f52 --- gsi/gsi_util/gsi_util/mounters/image_mounter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsi/gsi_util/gsi_util/mounters/image_mounter.py b/gsi/gsi_util/gsi_util/mounters/image_mounter.py index 96a3e80b0..a03415e50 100644 --- a/gsi/gsi_util/gsi_util/mounters/image_mounter.py +++ b/gsi/gsi_util/gsi_util/mounters/image_mounter.py @@ -64,7 +64,7 @@ class ImageMounter(base_mounter.BaseMounter): """Provides a file accessor which can access files in the given image file.""" DETECT_SYSTEM_AS_ROOT = 'detect-system-as-root' - _SYSTEM_FILES = ['compatibility_matrix.xml', 'build.prop', 'manifest.xml'] + _SYSTEM_FILES = ['compatibility_matrix.xml', 'build.prop'] def __init__(self, image_filename, path_prefix): super(ImageMounter, self).__init__()