Files
build/tools/fs_config/end_to_end_test/config.fs
Tom Cherry 9d924f67d3 Use fs_config_generator.py to generate fs_config_files/dirs directly
We want to remove target specific host tools and since
fs_config_generate is compiled with a target specific header file, we
instead remove fs_config_generate entirely and allow python to build
the fs_config_files/dirs files directly from config.fs files and
parsed C headers.

Test: associated unit tests and new end to end test
Test: aosp_sailfish, aosp_crosshatch build produces valid fs_config files
Test: aosp_cf_x86_phone build correctly produces empty fs_config files
Change-Id: Idbc63ff56c0979e1e4c17721371de9d9d02dc8ff
2019-02-15 09:44:09 -08:00

109 lines
2.0 KiB
Forth

# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is used to define the properties of the filesystem
# images generated by build tools (mkbootfs and mkyaffs2image) and
# by the device side of adb.
[AID_VENDOR_NEW_SERVICE]
value: 2900
[AID_VENDOR_NEW_SERVICE_TWO]
value:2902
[vendor/bin/service1]
mode: 0755
user: AID_SYSTEM
group: AID_VENDOR_NEW_SERVICE
caps: CHOWN DAC_OVERRIDE
[vendor/bin/service2]
mode: 0755
user: AID_VENDOR_NEW_SERVICE_TWO
group: AID_SYSTEM
caps: AUDIT_READ CHOWN SYS_ADMIN
[system/vendor/bin/service3]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: AUDIT_READ CHOWN SYS_ADMIN
[vendor/dir/]
mode: 0755
user: AID_VENDOR_NEW_SERVICE_TWO
group: AID_SYSTEM
caps: 0
[system/vendor/dir2/]
mode: 0755
user: AID_VENDOR_NEW_SERVICE_TWO
group: AID_SYSTEM
caps: 0
[product/bin/service1]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: 0x34
[product/bin/service2]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: NET_BIND_SERVICE WAKE_ALARM
[system/product/bin/service3]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: NET_BIND_SERVICE WAKE_ALARM
[product/dir/]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: 0
[system/product/dir/]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: 0
[system/bin/service]
mode: 0755
user: AID_SYSTEM
group: AID_RADIO
caps: NET_BIND_SERVICE
[system/dir/]
mode: 0755
user: AID_SYSTEM
group: AID_RADIO
caps: 0
[root_file]
mode: 0755
user: AID_SYSTEM
group: AID_RADIO
caps: 0
[root_dir/]
mode: 0755
user: AID_SYSTEM
group: AID_RADIO
caps: 0