Add update_channel field to bootloader_message_ab.
The update_channel field is used to store the Omaha update channel if update_engine is compiled with Omaha support. We need it to be in misc to persist through factory reset. Bug: 72332119 Test: mma Change-Id: Ied4fecc6e78cc69d33a36ba4d101d675100f9d82
This commit is contained in:
parent
80ccac2fff
commit
7191bf0492
1 changed files with 5 additions and 1 deletions
|
@ -103,13 +103,17 @@ static_assert(sizeof(struct bootloader_message) == 2048,
|
|||
* implementations are free to use all 32 bytes and may store private
|
||||
* data past the first NUL-byte in this field. It is encouraged, but
|
||||
* not mandatory, to use 'struct bootloader_control' described below.
|
||||
*
|
||||
* The update_channel field is used to store the Omaha update channel
|
||||
* if update_engine is compiled with Omaha support.
|
||||
*/
|
||||
struct bootloader_message_ab {
|
||||
struct bootloader_message message;
|
||||
char slot_suffix[32];
|
||||
char update_channel[128];
|
||||
|
||||
// Round up the entire struct to 4096-byte.
|
||||
char reserved[2016];
|
||||
char reserved[1888];
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue