-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ota-coordinator into mixins group
Tracked-On: OAM-127157 Signed-off-by: Jade Guo <[email protected]>
- Loading branch information
1 parent
1af9fe6
commit cc4bc3b
Showing
8 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
false/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
=== Overview | ||
|
||
ota-coordinator is designed to coordinate SOS, Android APP, and Android native layer. It | ||
implements a comprehensive upgrade as well as factory reset for both SOS and VMs. | ||
|
||
==== Options | ||
|
||
--- true | ||
this option is used to enable ota-coordinator support | ||
|
||
--- parameters | ||
--- code dir | ||
|
||
--- false | ||
this option is used to disable ota-coordinator support | ||
|
||
--- parameters | ||
--- code dir | ||
|
||
--- default | ||
when not explicitly selected in mixin spec file, the default option(disable) will be used. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/ota_coordinator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
myfs /ota virtiofs defaults defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
service ota_coordinator /vendor/bin/ota_coordinator | ||
user root | ||
class core | ||
socket ota_socket stream 666 system system | ||
oneshot | ||
seclabel u:r:ota_coordinator:s0 | ||
disabled | ||
|
||
on boot | ||
mkdir /data/vendor/ota 660 system system | ||
mount virtiofs myfs /data/vendor/ota | ||
start ota_coordinator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
service ota_coordinator_recovery /system/bin/ota_coordinator_recovery | ||
user root | ||
class core | ||
oneshot | ||
seclabel u:r:ota_coordinator:s0 | ||
|
||
on boot | ||
mkdir /ota | ||
mount virtiofs myfs /ota | ||
start ota_coordinator_recovery | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
PRODUCT_PACKAGES += \ | ||
ota_coordinator \ | ||
ota_coordinator_recovery | ||
|
||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
persist.vendor.ota_coordinator.last_slot_suffix=_a \ | ||
vendor.ota_coordinator.factory_reset=false \ | ||
|