Create a folder to store the calibration file

This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.

Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469
This commit is contained in:
shengchiliu 2023-02-07 18:36:09 -08:00
parent 444ac894f6
commit 94cc9e9c99

View file

@ -391,6 +391,7 @@ on post-fs-data
chmod 0771 /mnt/vendor/persist/camera chmod 0771 /mnt/vendor/persist/camera
chmod 0771 /mnt/vendor/persist/camera/OTP_calibration chmod 0771 /mnt/vendor/persist/camera/OTP_calibration
chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data
mkdir /mnt/vendor/persist/camera/rear 0771 system camera
chmod 0771 /mnt/vendor/persist/camera/rear chmod 0771 /mnt/vendor/persist/camera/rear
# Audio dump and debug # Audio dump and debug