From 895f76260422d6bdf038b9d8343cf6ba4e312754 Mon Sep 17 00:00:00 2001 From: David Ng Date: Fri, 11 May 2018 18:15:13 -0700 Subject: wayne-common: config.fs: Specify firmware image files as system:system Explicitly specify firmware image files legacy /firmware/image/* as system:system and new /vendor/firmware_mnt/image/* as root:system For normal boot, this is a no-op as /firmware|/vendor/firmware_mnt is a mount point. This change is only for development when firmware is read-writable and allows changes via "adb push". This match the underlying FAT fs mount ownership of system:system or root:system so adb push's chown will not error out. Change-Id: I90e7528bcd21cca449cc5637d20af8dc9ccf7d3c --- config.fs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config.fs') diff --git a/config.fs b/config.fs index 679286b..b26b62a 100644 --- a/config.fs +++ b/config.fs @@ -145,6 +145,18 @@ user: AID_SYSTEM group: AID_SYSTEM caps: 0 +[firmware/image/*] +mode: 0771 +user: AID_SYSTEM +group: AID_SYSTEM +caps: 0 + +[vendor/firmware_mnt/image/*] +mode: 0771 +user: AID_ROOT +group: AID_SYSTEM +caps: 0 + [bt_firmware/] mode: 0771 user: AID_SYSTEM -- cgit v1.2.3