Merge "Move init and ueventd scripts from / to /system/etc" into qt-qpr1-dev-plus-aosp
am: e5939e8297
Change-Id: If9b38a494e6385ccd2e5ae31c15d5d429b082efc
This commit is contained in:
commit
a762387a5b
2 changed files with 10 additions and 9 deletions
10
Android.bp
10
Android.bp
|
@ -95,6 +95,14 @@ cc_library_static {
|
|||
],
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init_recovery.rc",
|
||||
filename: "init.rc",
|
||||
src: "etc/init.rc",
|
||||
sub_dir: "init/hw",
|
||||
recovery: true,
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "recovery",
|
||||
recovery: true,
|
||||
|
@ -120,11 +128,13 @@ cc_binary {
|
|||
|
||||
required: [
|
||||
"e2fsdroid.recovery",
|
||||
"init_recovery.rc",
|
||||
"librecovery_ui_ext",
|
||||
"minadbd",
|
||||
"mke2fs.conf.recovery",
|
||||
"mke2fs.recovery",
|
||||
"recovery_deps",
|
||||
"ueventd.rc.recovery",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -44,10 +44,6 @@ on boot
|
|||
|
||||
class_start default
|
||||
|
||||
# Load properties from /system/ + /factory after fs mount.
|
||||
on load_system_props_action
|
||||
load_system_props
|
||||
|
||||
on firmware_mounts_complete
|
||||
rm /dev/.booting
|
||||
|
||||
|
@ -58,11 +54,6 @@ on late-init
|
|||
trigger post-fs
|
||||
trigger post-fs-data
|
||||
|
||||
# Load properties from /system/ + /factory after fs mount. Place
|
||||
# this in another action so that the load will be scheduled after the prior
|
||||
# issued fs triggers have completed.
|
||||
trigger load_system_props_action
|
||||
|
||||
# Remove a file to wake up anything waiting for firmware
|
||||
trigger firmware_mounts_complete
|
||||
|
||||
|
|
Loading…
Reference in a new issue