From 369d24f5ffe11b29437355a3fa4b4fce66aff391 Mon Sep 17 00:00:00 2001 From: Paul Crowley Date: Sun, 13 Nov 2022 19:14:44 +0900 Subject: [PATCH] init: Make encryption action an argument to mkdir FscryptSetDirectoryPolicy no longer tries to infer the action from the filename. Well mostly; it still assumes top-level directories in /data should be encrypted unless the mkdir arguments say otherwise, but it warns. Bug: 26641735 Test: boot, check log messages Change-Id: Id6d2cea7fb856f17323897d85cf6190c981b443c Signed-off-by: Omkar Chandorkar --- prebuilts/init/init.aospa-hub.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prebuilts/init/init.aospa-hub.rc b/prebuilts/init/init.aospa-hub.rc index 5ac81ac7..a4a5d0d3 100644 --- a/prebuilts/init/init.aospa-hub.rc +++ b/prebuilts/init/init.aospa-hub.rc @@ -1,4 +1,4 @@ on post-fs-data # Create an additional OTA package directory that unlike # /data/ota_package will not be touched by GmsCore. - mkdir /data/hub_updates 0770 system cache + mkdir /data/hub_updates 0770 system cache encryption=Require