Jump to content

Systemd: Difference between revisions

From postmarketOS Wiki
add "reporting bugs"
repo_bootstrap doesn't need to be done manually anymore, staging binary repo is up
Line 16: Line 16:


* Run <code>pmbootstrap config systemd always</code>
* Run <code>pmbootstrap config systemd always</code>
* (If the staging repository didn't bootstrap your device's architecture yet, run <code>pmbootstrap repo_bootstrap systemd</code>. See status at [https://build.postmarketos.org/ build.postmarketos.org]. <code>pmbootstrap install</code> will tell you that this needs to be done, if necessary.)


=== Build the image ===
=== Build the image ===

Revision as of 15:13, 7 April 2024

systemd is being added to postmarketOS (in addition to OpenRC), as announced in this blog post.

How to build your own systemd-based postmarketOS images

Note The steps here will change until it is fully integrated! See pmaports#2632 for details. Trying this out in the current stage is for advanced users who know what they are doing!

Configure pmbootstrap for systemd

  • Clone pmbootstrap from git
  • Go to your local pmaports clone, do git fetch and git checkout the master_staging_systemd branch
  • Run pmbootstrap init, select systemd and select your device
  • Configure the systemd staging repository as mirror:
$ pmbootstrap config mirrors_postmarketos "http://mirror.postmarketos.org/postmarketos/staging/systemd/"
  • Run pmbootstrap config systemd always

Build the image

Run pmbootstrap install as usually.

Undo configuration for systemd

  • Checkout master again in pmaports
  • Run pmbootstrap config systemd default
  • Reset the mirror to the default (or select your preferred one in pmbootstrap init):
$ pmbootstrap config mirrors_postmarketos http://mirror.postmarketos.org/postmarketos/

Reporting bugs

Use the systemd megathread (pmaports#2632) for now.