From f1fb31a301253199b5b9c6e0ea878e27bc92af6f Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 12 Oct 2018 11:10:17 +0100 Subject: [PATCH] Add trailing slash to mainline path claims. Fixes a bug where system_other/ paths are considered part of the "system" path. Test: lunch mainline_arm64; m nothing Change-Id: Id7aad41ea285f545260289f59e55c251677bdc38 --- target/product/mainline_system.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/product/mainline_system.mk b/target/product/mainline_system.mk index 8d0611f62c..6bd95b0b8f 100644 --- a/target/product/mainline_system.mk +++ b/target/product/mainline_system.mk @@ -64,8 +64,8 @@ _my_whitelist := $(_base_mk_whitelist) # Both /system and / are in system.img when PRODUCT_SHIPPING_API_LEVEL>=28. # Though we do have a new ramdisk partition for logical partitions. _my_paths := \ - $(TARGET_COPY_OUT_ROOT) \ - $(TARGET_COPY_OUT_SYSTEM) \ - $(TARGET_COPY_OUT_RAMDISK) \ + $(TARGET_COPY_OUT_ROOT)/ \ + $(TARGET_COPY_OUT_SYSTEM)/ \ + $(TARGET_COPY_OUT_RAMDISK)/ \ $(call require-artifacts-in-path, $(_my_paths), $(_my_whitelist))