summaryrefslogtreecommitdiff
path: root/config.fs
diff options
context:
space:
mode:
authorDavid Ng <dave@codeaurora.org>2018-05-11 18:15:13 -0700
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:52:43 +0200
commit895f76260422d6bdf038b9d8343cf6ba4e312754 (patch)
tree13d37b3197a539efa91826f7686b281e0d717295 /config.fs
parent74c16d5cfc1ac79d526d933e4f811d3b76c742cb (diff)
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
Diffstat (limited to 'config.fs')
-rw-r--r--config.fs12
1 files changed, 12 insertions, 0 deletions
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