Skip to content

Commit

Permalink
chiron: Merge init.fingerprint.rc into init.qcom.rc
Browse files Browse the repository at this point in the history
No need to keep a separate rc file with few lines.

Also remove unneeded actions about perfd.

Change-Id: Iac3db31e0d99b308d4125b7b80c137d6a3b08fd4
  • Loading branch information
BYZYB committed Jan 10, 2023
1 parent 1321465 commit 2366737
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
1 change: 0 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/bin/init.custom.post_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.custom.post_boot.sh \
$(LOCAL_PATH)/rootdir/bin/init.qcom.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.sh \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \
$(LOCAL_PATH)/rootdir/etc/init.fingerprint.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.fingerprint.rc \
$(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
$(LOCAL_PATH)/rootdir/etc/init.qcom.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.usb.rc \
$(LOCAL_PATH)/rootdir/etc/init.recovery.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.recovery.qcom.rc \
Expand Down
12 changes: 0 additions & 12 deletions rootdir/etc/init.fingerprint.rc

This file was deleted.

10 changes: 6 additions & 4 deletions rootdir/etc/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

import /vendor/etc/init/hw/init.fingerprint.rc
import /vendor/etc/init/hw/init.qcom.usb.rc
import /vendor/etc/init/hw/init.target.rc

Expand Down Expand Up @@ -87,9 +86,12 @@ on post-fs-data
chown root system /mnt/vendor/persist/sensors/sns.reg
chown system system /mnt/vendor/persist/PRSensorData.txt

# Create PERFD deamon related dirs
mkdir /data/vendor/perfd 2770 root system
rm /data/vendor/perfd/default_values
# Create fingerprint sensor related dirs
mkdir /data/vendor/fpc 0770 system system
mkdir /data/vendor/goodix 0770 system system
mkdir /mnt/vendor/persist/fpc 0770 system system
chmod 0600 /data/vendor/fpc/calibration_image.pndat
chown system system /data/vendor/fpc/calibration_image.pndat

# Mark the copy complete flag to not completed
write /data/vendor/radio/copy_complete 0
Expand Down

0 comments on commit 2366737

Please sign in to comment.