device_google_zumapro/conf/init.efs.16k.rc
Juan Yescas 1ef792a230 Move modem setup to init.persist.rc
When the modem setup is done is init.efs.rc file,
there is boot time regression in the 4kb configuration.

Bug: 374435821
Flag: EXEMPT bugfix
Test: Build and tested in abtd
Change-Id: I909f9eb45f783fda45e7782419845d236c263aa0
2024-11-13 15:08:23 -08:00

22 lines
778 B
Text

# This RC file is used for:
# - 16kb Developer option which can boot with 4kb/16kb page size.
# - 16kb targets only
service copy_efs_files_to_data /vendor/bin/copy_efs_files_to_data
user root
group root radio system audio media graphics camera
stdio_to_kmsg
oneshot
disabled
on post-fs-data && property:ro.boot.hardware.cpu.pagesize=16384
mkdir /data/vendor/copied 0775 radio system
restorecon_recursive /data/vendor/copied
exec_start copy_efs_files_to_data
mount_all /vendor/etc/fstab.efs.from_data
restorecon_recursive /mnt/vendor/persist
restorecon_recursive /data/vendor/ss
setprop ro.vendor.persist.status mounted
on late-fs && property:ro.boot.hardware.cpu.pagesize=4096
mount_all /vendor/etc/fstab.efs --early