No description
Find a file
Bowgo Tsai 3182ea132e Moving /odm/build.prop to /odm/etc/buid.prop
In device root directory, we have the following symlinks:
  - /odm/app -> /vendor/odm/app
  - /odm/bin -> /vendor/odm/bin
  - /odm/etc -> /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -> /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink
    - /odm/build.prop -> /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Change-Id: I0733c277baa67c549bb45599abb70aba13fbdbcf
Merged-In: I0733c277baa67c549bb45599abb70aba13fbdbcf
(cherry picked from commit c49655b2a4)
2019-05-22 16:15:44 +08:00
adb Merge "adbd: reduce queue depths." into qt-dev 2019-05-21 00:05:34 +00:00
base Disallow operator!() on unique_fd 2019-03-28 15:56:07 +09:00
bootstat bootstat: add 3 pmic off reasons to known set 2019-05-03 14:41:21 +00:00
cpio
debuggerd crash_dump: populate uid field. 2019-05-09 16:48:01 -07:00
demangle
deprecated-adf adf: rename. 2019-02-14 16:30:24 -08:00
diagnose_usb
fastboot Merge "Get max-download-size from device during fastbootd for flashall/update" into qt-dev 2019-05-21 04:54:08 +00:00
fs_mgr fs_mgr: overlayfs: ReadFstabFromFile touches errno 2019-05-13 11:03:10 -07:00
gatekeeperd gatekeeperd: fixed potential nullptr deref 2019-03-14 13:51:50 -07:00
healthd charger: fix show 0% symptom when start to draw UI 2019-03-29 18:33:00 +08:00
include
init Moving /odm/build.prop to /odm/etc/buid.prop 2019-05-22 16:15:44 +08:00
janitors Add the two best build system janitors. 2019-03-25 10:25:13 -07:00
libappfuse use epoll_create1(EPOLL_CLOEXEC) 2018-12-17 09:32:23 -08:00
libasyncio Revert "Mark libs as double_loadable" 2019-03-11 14:10:34 +00:00
libbacktrace Fix pc/function name for signal handler frame. 2019-04-15 14:14:56 -07:00
libbinderwrapper
libcrypto_utils
libcutils Moving /odm/build.prop to /odm/etc/buid.prop 2019-05-22 16:15:44 +08:00
libdiskconfig
libgrallocusage
libion
libkeyutils Initialize fs-verity keys in shell script 2019-03-22 09:18:00 -07:00
liblog Merge "Version liblog LL-NDK library" 2019-04-02 23:16:22 +00:00
libmeminfo procrank: do not keep process maps around 2019-04-26 13:57:17 -07:00
libmemtrack Revert "Mark libs as double_loadable" 2019-03-11 14:10:34 +00:00
libmemunreachable Catch SIGBUS in HeapWalker 2019-03-20 16:06:52 -07:00
libmetricslogger DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master 2018-12-11 14:46:12 -08:00
libnativebridge Update OWNERS for libnativebridge 2019-02-13 19:20:59 +09:00
libnativeloader Nativeloader: Restrict anonymous namespace creation 2019-04-29 10:42:38 -07:00
libnetutils Refactor OWNERS files for Android Core Networking 2019-02-12 13:25:13 +08:00
libpackagelistparser Add versionCode parser for package list. 2019-03-19 17:04:46 +00:00
libpixelflinger Mark gglMulx and gglMulAddx as always_inline 2019-02-14 11:59:48 -08:00
libprocessgroup libprocessgroup: add flags to indicate when a controller failed to mount 2019-05-17 16:18:29 -07:00
libprocinfo Merge "Revert "Mark libs as double_loadable"" 2019-03-12 22:11:27 +00:00
libqtaguid
libsparse Convert Android.mk file to Android.bp 2019-01-24 21:16:39 -08:00
libstats Merge "Report last atom tag of the failed stats log." 2019-04-02 23:18:14 +00:00
libsuspend
libsync
libsystem Merge "Freshen libsystem/OWNERS" am: 3dbdf65afc am: 20ee5af257 2019-02-07 14:55:17 -08:00
libsysutils Make the SocketListener control pipe O_CLOEXEC. 2019-05-08 21:02:57 -07:00
libunwindstack Ignore memory from elf on /memfd: 2019-05-03 15:46:24 -07:00
libusbhost Revert "Mark libs as double_loadable" 2019-03-11 14:10:34 +00:00
libutils Merge "libutils: more detailed logging." 2019-04-02 02:45:41 +00:00
libvndksupport Add dependency on libdl_android 2019-03-20 12:26:41 +01:00
libziparchive zip_writer.cc: update powerof2 and use it unconditionally 2019-03-27 10:24:44 -07:00
llkd llkd: do not call sync() 2019-01-10 12:52:35 -08:00
lmkd lmkd: set PSI_POLL_PERIOD to 10ms 2019-03-27 02:10:10 +00:00
logcat Merge "Logtags for com.android.server.policy" 2019-03-27 14:41:12 +00:00
logd introduce auditctl and use it to configure SELinux throttling 2019-04-09 20:54:47 -07:00
logwrapper
mkbootimg mkbootimg: print addresses and offsets in hex 2019-03-07 05:06:09 +00:00
property_service Add libc_headers to header_libs for libpropertyinfoparser 2019-01-17 21:18:01 +08:00
qemu_pipe
reboot
rootdir Add asan.permitted.paths for the media namespace 2019-05-15 12:41:01 +09:00
run-as run-as: improve diagnostics on failure. 2019-03-13 11:16:03 -07:00
sdcard Allow callers to pass a flag to not link obb dirs of multiple users. 2019-03-05 14:41:54 -08:00
shell_and_utilities introduce auditctl and use it to configure SELinux throttling 2019-04-09 20:54:47 -07:00
storaged Remove liblog's rate limiting 2019-01-16 10:37:14 -08:00
toolbox grep: fix ASan heap-buffer-overflow. 2019-04-01 10:58:38 -07:00
trusty Add support for RPMB over VirtIO Serial 2019-03-05 17:25:57 -08:00
usbd
watchdogd
.clang-format
.clang-format-2 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.clang-format-4 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.gitignore
Android.bp
CleanSpec.mk healthd: charger uses shared libraries. 2019-03-06 14:36:59 -08:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS
PREUPLOAD.cfg
TEST_MAPPING Add presubmit test for vendor overlay 2019-02-16 08:24:35 +09:00