mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: Finally move init files to vendor
This commit is contained in:
parent
b0d199d672
commit
6e0bc948a0
3 changed files with 6 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue