vendor: init: Fix condition for init legacy devices
[1] - The old definition wasn't working, and init post_boot.sh and early_boot.sh was being used on legacy devices, which shouldn't happen. [2] - Yes I've tried other ways to pin but only this worked. Change-Id: I2b3f41b34ba6297fe1019773c2e7d5fd7d17d00c Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
parent
c9d8b8cf45
commit
676c5a53ff
|
@ -93,13 +93,6 @@ sh_binary {
|
|||
vendor: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.qcom.early_boot.legacy.sh",
|
||||
filename: "init.qcom.early_boot.sh",
|
||||
src: "init.qcom.early_boot.legacy.sh",
|
||||
vendor: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.qcom.efs.sync.sh",
|
||||
src: "init.qcom.efs.sync.sh",
|
||||
|
@ -112,13 +105,6 @@ sh_binary {
|
|||
vendor: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.qcom.post_boot.legacy.sh",
|
||||
filename: "init.qcom.post_boot.sh",
|
||||
src: "init.qcom.post_boot.legacy.sh",
|
||||
vendor: true,
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "init.qcom.sdio.sh",
|
||||
src: "init.qcom.sdio.sh",
|
||||
|
|
|
@ -17,10 +17,12 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
|
||||
# Add legacy services and permissions for pre-5.10 targets
|
||||
ifeq (,$(filter 5.10, $(TARGET_KERNEL_VERSION)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(QCOM_COMMON_PATH)/vendor/init/init.qcom.early_boot.legacy.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.early_boot.sh \
|
||||
$(QCOM_COMMON_PATH)/vendor/init/init.qcom.post_boot.legacy.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.post_boot.sh
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
init.qcom.early_boot.legacy.sh \
|
||||
init.qcom.legacy.rc \
|
||||
init.qcom.post_boot.legacy.sh
|
||||
init.qcom.legacy.rc
|
||||
else
|
||||
PRODUCT_PACKAGES += \
|
||||
init.qcom.early_boot.sh \
|
||||
|
|
Loading…
Reference in New Issue