Skip to content
Snippets Groups Projects
Unverified Commit 1b869ed0 authored by Alexey Minnekhanov's avatar Alexey Minnekhanov :electric_plug: Committed by Bart Ribbers
Browse files

main/lk2nd: new package (MR 2570)

Package secondary LK bootloader for some Qualcomm devices
(for now: msm8916, msm8974, msm8226).

Bootloader binary is built from source in x86_64 chroot.
Two targets are built in a sequence. Then package is split
into 2 subpackages, each of them installs `/boot/lk2nd.img`.
So the end result is - lk2nd-msm8916 and lk2nd-msm8974 can't
be installed at the same time.

Device- packages then can depend on specific subpackage of this
package and have proxy-bootloader image ready to use in /boot.

This can improve user experience with installing postmarketOS on
several devices using only pmbootstrap tool.
At the very least, pmbootstrap can suggest user to flash lk2nd
immediately after `pmbootstrap install` or even offer some kind
of `pmbootstrap flasher` integration.

This will also open possibilities to automatically update and flash
lk2nd using package manager, it we ever want this.
parent d5a197a1
No related branches found
No related tags found
No related merge requests found
Pipeline #192881 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:03:09

avatar
Download artifacts

No artifacts found

Passed

00:03:00

avatar
Download artifacts

No artifacts found