Give adding a script another shot

This commit is contained in:
Nehemiah of Zebulun 2023-12-05 12:08:48 -05:00
parent cb0674e7be
commit 7e970cd195
4 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/wephone/qinf21pro/sepolicy
TARGET_GAPPS_ARCH := arm64
include build/make/target/product/aosp_arm64_ab.mk
@ -12,6 +13,10 @@ PRODUCT_CHARACTERISTICS := device
PRODUCT_PACKAGE_OVERLAYS += device/wephone/qinf21pro/overlay
PRODUCT_COPY_FILES += \
device/wephone/qinf21pro/wephone.rc:system/etc/init/wephone.rc \
device/wephone/qinf21pro/wephone.sh:system/bin/wephone.sh
PRODUCT_COPY_FILES += \
device/wephone/qinf21pro/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
device/wephone/qinf21pro/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \

View File

@ -0,0 +1 @@
/system/bin/wephone.sh u:object_r:rootfs:s0

2
qinf21pro/wephone.rc Normal file
View File

@ -0,0 +1,2 @@
on boot
exec - root -- /system/bin/wephone.sh

3
qinf21pro/wephone.sh Executable file
View File

@ -0,0 +1,3 @@
#!/system/bin/sh
touch /mnt/wephone