Support automatic kernel updates on Android devices
Depends on !2214 (merged).
This MR adds all the bits needed for automatic kernel updates for Android devices! It also enables that functionality on the OnePlus 6 and 6T.
I've added a new deviceinfo variable: deviceinfo_flash_kernel_on_update
, the kernel will not be flashed unless this variable is set. There is also a new function in mkinitfs_functions
to run pmos-update-kernel
if it is installed. It's not installed automatically and should instead be depended on in the device APKBUILD.
Merge request reports
Activity
mentioned in merge request pmbootstrap!2061 (merged)
- Resolved by Caleb Connolly
- Resolved by Caleb Connolly
added 10 commits
-
6f241fb1...5e562fdb - 6 commits from branch
postmarketOS:master
- b5e9f990 - postmarketos-mkinitfs: flash new boot image
- 28b2a014 - device-oneplus-enchilada: flash the kernel automatically
- b92270c1 - device-oneplus-fajita: flash the kernel automatically
- 9d5d094b - CI: make sure devices that support kernel updates install the script
Toggle commit list-
6f241fb1...5e562fdb - 6 commits from branch
- Resolved by Caleb Connolly
- Resolved by Caleb Connolly
- Resolved by Caleb Connolly
- Resolved by Caleb Connolly
- Resolved by Caleb Connolly
Thanks for the patches @calebccff, this is a great enhanchement
- Resolved by Caleb Connolly
@ollieparanoid thanks for the review, I'll push a new version shortly.
There is a small issue which is that the flash command & pmos-update-kernel are now called in the chroot
... Can we detect if we're running in chroot?
added categorydevice typefeature labels
added 6 commits
-
bf6ad7a7 - 1 commit from branch
postmarketOS:master
- d1d0fe9f - postmarketos-mkinitfs: use variable for bootimg
- f58c3924 - postmarketos-mkinitfs: flash new boot image
- c0ce141c - device-oneplus-enchilada: flash the kernel automatically
- 10164ec8 - device-oneplus-fajita: flash the kernel automatically
- 299781f6 - CI: make sure devices that support kernel updates install the script
Toggle commit list-
bf6ad7a7 - 1 commit from branch
added 1 commit
- 39e014b0 - CI: make sure devices that support kernel updates install the script