Skip to content
Snippets Groups Projects
Unverified Commit 68231d93 authored by Luca Weiss's avatar Luca Weiss Committed by Oliver Smith
Browse files

pmb.flasher: Improve flash_lk2nd action

* Check that we're not already running lk2nd as flashing boot partition
  inside lk2nd is different to flashing boot partition outside. We could
  improve this in the future to use "flash lk2nd lk2nd.img" as
  documented in the file.
* Grab the lk2nd package from the device package and install that. The
  device package is expected to have a dependency on the correct lk2nd
  package.
* Remove some log message in unusual styles for pmbootstrap.
* Group flash_lk2nd action together with the other flash actions and use
  string comparison.

See also: https://gitlab.com/postmarketOS/pmaports/-/issues/2074



Reviewed-by: default avatarOliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230605104026.744005-1-luca@z3ntu.xyz%3E
parent d68d5fcf
No related branches found
No related tags found
No related merge requests found
Loading
  • Administrator @root

    mentioned in commit ec370987

    By Oliver Smith on 2023-06-05T11:44:52

    · Imported

    mentioned in commit ec370987

    By Oliver Smith on 2023-06-05T11:44:52

    Edited by Ghost User
    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment