init.rc: set up init.rc for aconfigd to initialize mainline storage

aconfigd-mainline-init is the service target to initialize mainline
storage files. aconfigd is the service target to start aconfigd socket
for incoming messages.

Bug: b/312444587
Test: m and avd
Change-Id: Ic8052eaf933501da3371812c482ad816ec353b27
This commit is contained in:
Dennis Shen 2024-05-17 00:46:28 +00:00
parent be6e1459ee
commit 208fccdae8

View file

@ -640,8 +640,7 @@ on post-fs
mkdir /metadata/aconfig/boot 0775 root system
mkdir /metadata/aconfig_test_missions 0775 root system
exec_start aconfigd-init
start aconfigd
exec_start aconfigd-platform-init
on late-fs
# Ensure that tracefs has the correct permissions.
@ -1031,6 +1030,8 @@ on post-fs-data
# Wait for apexd to finish activating APEXes before starting more processes.
wait_for_prop apexd.status activated
perform_apex_config
exec_start aconfigd-mainline-init
start aconfigd
# Create directories for boot animation.
mkdir /data/misc/bootanim 0755 system system