raviole: fix $(ro.hardware) not works in "on property:"

use ro.vendor.factory to replace ro.build.flavor

Bug: 187391068
Change-Id: I85f880bd4ada673655afd91cd092dbd2f1f0fec3
This commit is contained in:
Robin Peng 2021-05-06 20:09:29 +08:00
parent a10a9d85f2
commit 7cc6cca546

View file

@ -1,6 +1,6 @@
# Raven/Oriole specific init.rc # Raven/Oriole specific init.rc
on init && property:ro.build.flavor=factory_${ro.hardware}-userdebug on init && property:ro.vendor.factory=1
import /vendor/etc/init/hw/init.factory.rc import /vendor/etc/init/hw/init.factory.rc
on early-boot on early-boot