deb: Finally move init files to vendor

This commit is contained in:
followmsi 2021-12-02 16:30:52 +01:00
parent b0d199d672
commit 6e0bc948a0
3 changed files with 6 additions and 10 deletions

View file

@ -51,6 +51,4 @@ PRODUCT_ENFORCE_RRO_TARGETS := \
framework-res
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.deb:$(TARGET_COPY_OUT_RAMDISK)/fstab.flo \
$(LOCAL_PATH)/rootdir/etc/fstab.deb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.flo \
device/asus/flo/rootdir/etc/ueventd.flo.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
$(LOCAL_PATH)/rootdir/etc/fstab.deb:$(TARGET_COPY_OUT_RAMDISK)/fstab.flo

View file

@ -4,16 +4,14 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.flo
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/fstab.deb
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.flo.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.deb.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)

View file

@ -14,8 +14,8 @@
# limitations under the License.
#
import init.flo.usb.rc
import init.flo.power.rc
import /vendor/etc/init/hw/init.flo.usb.rc
import /vendor/etc/init/hw/init.flo.power.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
@ -37,7 +37,7 @@ on init
mkdir /firmware 0771 system system
on fs
mount_all fstab.flo
mount_all /vendor/etc/fstab.flo
restorecon_recursive /persist
write /sys/kernel/boot_adsp/boot 1