Give adding a script another shot
This commit is contained in:
parent
cb0674e7be
commit
7e970cd195
@ -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 \
|
||||
|
1
qinf21pro/sepolicy/file_contexts
Normal file
1
qinf21pro/sepolicy/file_contexts
Normal file
@ -0,0 +1 @@
|
||||
/system/bin/wephone.sh u:object_r:rootfs:s0
|
2
qinf21pro/wephone.rc
Normal file
2
qinf21pro/wephone.rc
Normal file
@ -0,0 +1,2 @@
|
||||
on boot
|
||||
exec - root -- /system/bin/wephone.sh
|
3
qinf21pro/wephone.sh
Executable file
3
qinf21pro/wephone.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
touch /mnt/wephone
|
Loading…
x
Reference in New Issue
Block a user