Age | Commit message (Collapse) | Author |
|
am: 15546c3790 am: 4543612847 am: ef85a8ac82
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2111984
Change-Id: I232e563e0ae9b8e4bbfe5f6d4f87ac725f8d59b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
am: 15546c3790 am: 4543612847
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2111984
Change-Id: I73a005192d9e05701651c532ceba9258cdb79a52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
am: 15546c3790
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2111984
Change-Id: Ie71589772f0f4a6c0329eada9c783dcd2a232eb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2111984
Change-Id: Ie2eae42f78fbdcf087b2015d51913ff4f0873a5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2111984
Change-Id: I0ee0454ee17df0ff262dda2199d734daf59114c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
When checking for entries use both lstat and stat to make
sure that both link and target can be read.
Fail if only link can be read.
This makes sure that bootctl can update all ab block device
entries. Without this change, missing selinux rule would
cause partition to be silently ignored.
Bootcontrol checks if a partition exists by checking the
entries in /dev/block/by-name.
The entries in this directory are in normal case symlinks,
all with selinux label u:object_r:block_device:s0.
The target of the links might have different labels.
Performing both lstat and then stat will ensure that the error case
where bootctl don't have the correct selinux permission for accessing
block device is handled as error.
Bug: 234349374
Test: Manual. Remount the device and push bootcontrol related files
to vendor partition (bootctrl.msmnile.so, android.hardware.boot@*.so)
Change selinux label on ab block device to other label, example for
modem_b on pixel4:
chcon u:object_r:media_rw_data_file:s0 /dev/block/sda9
Run test:
bootctl mark-boot-successful
Confirm result:
Error marking as having booted successfully: Operation not permitted
Confirm message in logcat: Unable to stat block device
Change-Id: I1cdbd74e1b0f1a105e36c02dd03519621600e57d
|
|
36c95f30a9 am: 3eaaa57e49
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2116334
Change-Id: Ic368e536d109dbf355460fc6f2593a2f1093fec8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
36c95f30a9
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2116334
Change-Id: I594469dfdaf000f53c6bd9b7b57e5f67bff55c4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2116334
Change-Id: I40651765c94edd21dac821522a69e638c5eabc93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2116334
Change-Id: Ib0ede32a1d8831c090b8f9c963fb61453923686b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/2116334
Change-Id: Ib17346d692fd71a3be69e6ec8968505d33199237
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Use of goto is highly discouraged, so remove it.
Use unique_ptr where possible to ensure that memory is freed properly
Bug: 234349374
Test: manual, use bootctl to
get current slot
set active slot _a/_b, then dump and compare gpt tables
set successful boot _a/_b, then dump and compare gpt tables
Change-Id: I86b30d58efda9552057cf92499b329eeef530ef8
|
|
ours am: fed32d7439 -s ours am: c2e4fd3896 -s ours
am skip reason: Change-Id Id1fcb9b1808a1c769addd79dc1ba972d67407ec1 with SHA-1 fed02fe9c8 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6ad7d4f25528f7970f29a48a40a7a3450f4be3f7
|
|
b7d115b48c am: 5f57b011a4 am: 0eb21fc66c
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1588380
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I42727effa4314380d00dc614c99d2e5060552863
|
|
ours am: fed32d7439 -s ours
am skip reason: Change-Id Id1fcb9b1808a1c769addd79dc1ba972d67407ec1 with SHA-1 fed02fe9c8 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I246b724ade3ffef99dbe3878730418cd9a24ba9b
|
|
b7d115b48c am: 5f57b011a4
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1588380
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iffcf05ad639fd18f5cb7389cb0dad063370895b3
|
|
am skip reason: Change-Id Id1fcb9b1808a1c769addd79dc1ba972d67407ec1 with SHA-1 fed02fe9c8 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib3d315bac4e04f0eedbbdff31d1c0950c0744f1e
|
|
Bug: 180401296
Merged-In: Id1fcb9b1808a1c769addd79dc1ba972d67407ec1
Change-Id: I2c67c488087210e848517b71f5643f4715d1d9cb
|
|
b7d115b48c
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1588380
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5765d181ca4b97d63abc3e4a621baa1b4dfc7a50
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1588380
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I399a52f1beab0c39ea1cef5df44f23b75b06eb5f
|
|
Added SPDX-license-identifier-BSD to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I2168c492b4626235eb555af3dee6645ead4a26fa
|
|
am: fed02fe9c8
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1514839
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ideecb39176d0f41b3f5c26f28e9d42043e363a11
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1514839
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id1fcb9b1808a1c769addd79dc1ba972d67407ec1
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/bootctrl/+/1514839
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iebe4ea85ab1c57c388b771a920b198d23000a668
|
|
|
|
This implements bootcontrol HAL 1.2; and it's useful for clients
to query the slot to boot into on the next boot.
Bug: 170664917
Bug: 173808057
Test: Vts test for bootcontrol
Change-Id: I23e706e420c6248d181352d9566feaa2ab0f91c2
|
|
f4789eed64 am: 251f446cd4 am: 09eb4be25f
Change-Id: Ia8b4ff0898d591b138766628302a23d0c83b3098
|
|
f4789eed64 am: 251f446cd4
Change-Id: Ifb0ba5318a52ecce2fa99194544b9078441674a4
|
|
f4789eed64
Change-Id: I4a4651fbca2c6a74934c1878e04fe5a776aac037
|
|
Change-Id: I38dc318cbf76174e25186e2b64e585b0b232967a
|
|
Change-Id: Ic49f7785869154d4d26c98591b6706aa16321c2e
|
|
Bug: 68860345
Bug: 69058154
Bug: 151953481
Test: no code changes
Change-Id: I468749a8c56b01859762f6a3f0658639b68d6f41
|
|
308431ceb7" into qt-dev-plus-aosp am: 6bd5b61b99
am: 4e5d401048
Change-Id: I12a45eddf26a4f6d87392720b49f4183b4dff139
|
|
am: cf2985d914
am: 532c3f7a28
Change-Id: I67bff9213fae39903c1390211e8917a1986d3fed
|
|
308431ceb7" into qt-dev-plus-aosp
am: 6bd5b61b99
Change-Id: Ied1ad3ab0a7a1e555aac2343c20a87d794873e9f
|
|
am: cf2985d914
Change-Id: I65b765e0c382f6c377a98e2b56703c94cf799c59
|
|
308431ceb7" into qt-dev-plus-aosp
|
|
am: 308431ceb7
Change-Id: I30882f03d7eb957452fefc71d2aa85b2b536344f
|
|
am: 308431ceb7
Change-Id: I0120922025265fd8008e83c03661afb433838a86
|
|
am: 7bde6868ff
Change-Id: I63a8e9654c1d230e28ec81cb5a0aa83f019ac087
|
|
All the targets that need the bootctrl.$(TARGET_BOARD_PLATFORM) in this
dir should build the module with Android.bp, which is also the desired
way to install the recovery variant of bootctrl. [1] has an example
change for crosshatch.
We also no longer need BOARD_IS_AUTOMOTIVE, as the module must be
explicitly included now, in order to be built with namespace-scoped
Android.bp.
[1] https://android-review.googlesource.com/c/device/google/crosshatch/+/958004
Bug: 34254109
Test: TreeHugger
Change-Id: Ib110508065f47a742acd92e03ea42901e8002e4f
|
|
am: a74148dd46 -s ours am: bd3f15889d -s ours
am: dba5dbfaf6 -s ours
am skip reason: change_id I864bd626d25723bd390b2453022d9cd47a54d2a2 with SHA1 e3818e1e44 is in history
Change-Id: Ie8217f2516df698597e366520aadc8af81e267a4
|
|
am: a74148dd46 -s ours
am: bd3f15889d -s ours
am skip reason: change_id I864bd626d25723bd390b2453022d9cd47a54d2a2 with SHA1 e3818e1e44 is in history
Change-Id: I2ea64c40fba8edc642b39a858d89ce075cc3b934
|
|
am: a74148dd46 -s ours
am skip reason: change_id I864bd626d25723bd390b2453022d9cd47a54d2a2 with SHA1 e3818e1e44 is in history
Change-Id: Ibb29585be357552295e2eafa91a19780751f875f
|
|
am: b229dfc102
Change-Id: Ie64758e8599572f491465673c38e1d35c0d8b8d1
|
|
am: d4e96c0bd5
Change-Id: Icc07b5630788165490ceeed7bd4b6849f5b34d2c
|
|
Android.mk itself will be removed in a separate CL.
Bug: 34254109
Test: TreeHugger
Test: Sideloading a package on sailfish.
Change-Id: I864bd626d25723bd390b2453022d9cd47a54d2a2
Merged-In: I864bd626d25723bd390b2453022d9cd47a54d2a2
(cherry picked from commit e3818e1e44e3f2b4b0296132dbc185da92f99c66)
|
|
am: e3818e1e44
Change-Id: I61c092e143724aaff4da4d0b83b3422e77c28031
|
|
1933d30528 am: 43dc9da33d -s ours am: e0d83c800e -s ours
am: 7a64857fe8 -s ours
am skip reason: change_id I6a85b7885903df818deb32c40c751ac4358a6dbc with SHA1 7ba68ec1d2 is in history
Change-Id: I414d0cd5018ce655502956efba5d519886062bd9
|
|
b3fede0de5
am: a707a74460 -s ours
am skip reason: change_id I6a85b7885903df818deb32c40c751ac4358a6dbc with SHA1 7ba68ec1d2 is in history
Change-Id: I6aa9e4c4f0d03eaf99f3e6a85dc2efae63b7fbcd
|