android_device_xiaomi_sdm66.../rootdir/etc
Chenyang Zhong 851d88070e
sdm660-common: create and symlink a dummy /metadata/apex
Google moved apex sessions directory from /data/apex/sessions to
/metadata/apex/sessions after commit:

"Move apex sessions directory to /metadata"
36cf4bbac6

Devices with a mounted metadata partition will have the needed
directories set up by system/core/rootdir/init.rc. Xiaomi devices
on sm6125 do not have a metadata partition out of the box, so things
like "Google Play system update" will fail to install the update.

Therefore, create a dummy directory under /data/vendor/metadata_apex
and symlink it to /metadata/apex.

The reason why the old /data/apex/sessions directory is not used
for the symlink is that apexd will call migrateSessionsDirIfNeeded()
to recursively copy things from the old directory to the new one.
Creating the symlink from /data/apex/sessions may result in
unintended behaviors.

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-09 20:53:35 +06:00
..
fstab.qcom sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
fstab_A.qcom sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
fstab_AB.qcom sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
init.msm.usb.configfs.rc init.msm.usb.configfs.rc: Add support for USB PID 0x9020 2019-12-16 18:19:42 +01:00
init.qcom.rc sdm660-common: create and symlink a dummy /metadata/apex 2021-02-09 20:53:35 +06:00
init.qcom.usb.rc sdm660-common: Update init.rc and init.sh from LA.UM.8.2.r1-04000 2019-09-27 17:13:45 +02:00
init.recovery.qcom.rc sdm660-common: Checkout rootdir and init stuffs from caf 2021-02-08 14:06:33 +06:00
init.target.rc sdm660-common: Checkout rootdir and init stuffs from caf 2021-02-08 14:06:33 +06:00
init.verity.rc sdm660-common: Disable dm-verity hash prefetching. 2020-12-30 22:06:56 +06:00
init.xiaomi_parts.rc sdm660-common: DeviceSettings: Drop userspace hall switcher 2021-02-03 23:05:50 +06:00
ueventd.qcom.rc sdm660-common: Checkout rootdir and init stuffs from caf 2021-02-08 14:06:33 +06:00