diff options
| author | Alex Deymo <deymo@google.com> | 2016-04-22 11:27:44 -0700 |
|---|---|---|
| committer | Alex Deymo <deymo@google.com> | 2016-04-22 18:03:51 -0700 |
| commit | 46383a69a92552b57e513b299544652b9b3a47c7 (patch) | |
| tree | f3abb32a5fa793165d0c64eb17b785fd05b2e446 /fstab.common | |
| parent | 421db32b13e130ab64b2fb55be2968074884a192 (diff) | |
Enable and install the boot_control HAL on marlin/sailfish.
The boot_control HAL is implemented by bootctrl.msm8996 which requires
the librecovery_updater_msm to be installed as well. This patch enables
and installs the bootctl module, the HAL and sets the permissions
required by the "boot_control_hal" attribute.
To isolate the permission to read/write A/B partition and manipulation
required by the HAL, this patch labels all the _a and _b partitions
present in the disk. The whole-disk block device is used by the HAL edit
the attributes in the GPT and is also labeled.
Bug: 27347498
Test: Manual test procedure, see description.
1. `make`
2. fastboot to the device the built partitions.
3. `make dist` and generated an OTA package from the target_files.zip.
4. Deployed the update to update_engine and works all the way to the
point it needs to mark the new slot as ready which fails due to bugs
on the HAL.
Change-Id: I39683fcb7247c7eab8ce49cba25d38bec54d6c60
Diffstat (limited to 'fstab.common')
| -rw-r--r-- | fstab.common | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fstab.common b/fstab.common index 4284a298..7de5149d 100644 --- a/fstab.common +++ b/fstab.common @@ -14,3 +14,4 @@ /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check #/devices/soc/74a4900.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer /dev/block/zram0 none swap defaults zramsize=536870912 +/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults |
