This is a squash of the following:
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Sep 27 16:12:10 2020 +0200
wahoo: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
stdio.h will cause errors due to redefined macros.
Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
Author: LuK1337 <priv.luk@gmail.com>
Date: Mon Sep 9 22:38:02 2019 +0200
wahoo: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
Author: Rashed Abdel-Tawab <rashed@linux.com>
Date: Sun Sep 29 15:37:38 2019 -0400
wahoo: Switch gpt-utils to generated_kernel_headers
Change-Id: Ia6e2f7e140e6ffbd3a93dd823f836aaf399d03fb
Change-Id: Ia1f608778b5b37fec770abbf185c5e313cd5ba16
In favor of using boot control HAL under recovery.
Bug: 34254109
Test: TreeHugger
This is a combination of 2 commits.
This is the 1st commit message:
Revert^2 "Build libgptutils with Android.bp.""
This reverts commit 215189f0b9ff44d28c2b4ace0abb26854b201271.
The previous landing broke checkbuild targets due to namespace issue. As
libgptutils.msm8998 was exposed to global namespace (previously guarded
via conditionals in Android.mk), but had a missing dependency on
nonexposed msm8998 kernel headers.
The relanding adds a Soong namespace of hardware/qcom/msm8998, to ensure
modules only getting built as needed.
Bug: 34254109
Test: Sideload on taimen.
Test: `m -j checkbuild` with aosp_x86-eng
Change-Id: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
Merged-In: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
(cherry picked from commit e74c7611d2cbea03ec8ec1559787a7a57b2bf767)
This is the commit message #2:
Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b3f037e94cd4ad7e19f5985da13a8b8.
The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.
Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e490208bef42faccf204381dc35ad1cfed46)
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.
Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
libgptutils is only used by vendor. Move it to
vendor partition so they can work with generic AOSP
system image.
Bug: 37927875
Test: These libs are under /vendor/lib(64) instead of
/system/lib(64) and the resulted image works on the device.
Change-Id: Id04f7a09fdc8e60de79f83b8fd0c2504fd2e2ebe
Change-Id: I7f3f8fe845d35a05492ffc4785787622c7851b79
Author: Thierry Strudel <tstrudel@google.com>
Date: Thu May 4 18:15:01 2017 -0700
gpt-utils: PTN_SWAP_LIST add the missing new partitions
abl, dtbo, vbmeta were not part of the list updated by bootctl HAL.
This will fix the issue but bootctl HAL should be rewritten to not
detect A/B partition candidate at runtime.
Bug: 37501587
Change-Id: I64140d9fce8d142e16a12c9778f1b10394f9dc76
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Author: Patrick Tjin <pattjin@google.com>
Date: Tue Jul 25 19:26:1 2017 -0700
Add aes as A/B OTA partition
Bug: 37554629
Change-Id: I162150922683000dbfc0beceab807d46bd51325e
Author: Patrick Tjin <pattjin@google.com>
Date: Wed May 10 15:36:34 2017 -0700
Add laf partition to swap list.
Bug: 37743272
Change-Id: If9521bbd29af9439aa01ac72c8bb8cbc0bf674b6
Change-Id: I8aa1386206e6b675a4b7d1e696841f23f5955c2d