From eb02404e94a0fdb6277c2330b3722db5c1752c84 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 13 Dec 2021 15:29:38 -0800 Subject: [PATCH] config: pixel: Exclude unnecessary sepolicy dirs --- config/snippets/pixel/common.yml | 5 +++++ config/snippets/pixel/factoryota.yml | 4 ++++ config/snippets/pixel/flipendo.yml | 4 ++++ config/snippets/pixel/turbo.yml | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/config/snippets/pixel/common.yml b/config/snippets/pixel/common.yml index b2d03a8..1f10999 100644 --- a/config/snippets/pixel/common.yml +++ b/config/snippets/pixel/common.yml @@ -38,6 +38,11 @@ filters: # Is this really necessary? - system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk + sepolicy_dirs: + match: + # ramdump debugging + - hardware/google/pixel-sepolicy/ramdump + files: match: # Pixel 2020 diff --git a/config/snippets/pixel/factoryota.yml b/config/snippets/pixel/factoryota.yml index 7ab7d0c..1d005cd 100644 --- a/config/snippets/pixel/factoryota.yml +++ b/config/snippets/pixel/factoryota.yml @@ -5,3 +5,7 @@ filters: - system_ext/etc/init/init.sota.rc - system_ext/etc/permissions/com.google.android.factoryota.xml - system_ext/priv-app/FactoryOta/FactoryOta.apk + + sepolicy_dirs: + match: + - hardware/google/pixel-sepolicy/sota_app/system_ext diff --git a/config/snippets/pixel/flipendo.yml b/config/snippets/pixel/flipendo.yml index 5068402..b0f492c 100644 --- a/config/snippets/pixel/flipendo.yml +++ b/config/snippets/pixel/flipendo.yml @@ -3,3 +3,7 @@ filters: files: match: - system_ext/app/Flipendo/Flipendo.apk + + sepolicy_dirs: + match: + - hardware/google/pixel-sepolicy/flipendo diff --git a/config/snippets/pixel/turbo.yml b/config/snippets/pixel/turbo.yml index dc8eab1..d2fb893 100644 --- a/config/snippets/pixel/turbo.yml +++ b/config/snippets/pixel/turbo.yml @@ -6,3 +6,7 @@ filters: prefix: - system_ext/priv-app/TurboAdapter/ + + sepolicy_dirs: + match: + - hardware/google/pixel-sepolicy/turbo_adapter