Ghostboard pixel Skip to content

postmarketOS is Bringing Systemd to Linux Phones

Systemd is making its way to phones, with postmarketOS. This is an interesting development.

postmarketOS is a security-focused, open-source Android alternative based on Alpine Linux, which follows a modular approach to development. The whole operating system is divided into small packages that can be installed on devices sharing the same CPU architecture.

All of that, as a result, keeps postmarketOS quite bloat-free in nature, with the user also having the freedom to build it manually, while excluding any packages that they don't want on their smartphone.

Interestingly, with a recent announcement, the developers have now signalled a shift towards systemd, in a bid to improve how the development of postmarketOS progresses.

Let's see what they intend to do.

Suggested Read 📖

13 Open Source Mobile OS Alternatives to Android
Android is not the only option for your smartphones. Meet some open-source Android alternatives for your mobile phone.

What's Happening: The developers of postmarketOS are switching from using the OpenRC init system to the systemd init system. If you didn't know, an init system is among the first programs to run besides the kernel when a Linux distribution is booted.

The main reason behind this move was the fact that OpenRC didn't go well when working with KDE Plasma or GNOME. The developers had to use systemd polyfills (consider them to be a bridge) to make those desktop environments behave well with OpenRC.

And, as you might have guessed, this was only an improvised solution that was not really a practical choice in the long term. Even though the devs would've liked to develop what they term as a “vaguely competitive alternative to systemd”, they would rather focus on working on postmarketOS instead.

After thoughtfully considering the above, the developers moved on to address these issues simply by providing a systemd version of postmarketOS.

In conversation with The Register, postmarketOS project member, Oliver Smith also added:

KDE and GNOME stacks power three of the four most-used phone UIs that we have in postmarketOS: Plasma Mobile, GNOME Mobile, and Phosh.
Our goal is to have postmarketOS become usable by regular folks, who are currently using iOS and Android. So if we don't support KDE and GNOME anymore, then we have no chance of making a system that works for the casual user.

That does seem like the logical choice. If you don't make a smartphone operating system as user-friendly as possible, would mainstream users ever bother to install an alternative to iOS and Android, such as postmarketOS?

The developers also shared some advantages that switching to systemd brings, such as in-built boot-time analysis, a socket activation feature to facilitate easy printer support, better privilege controls and more.

When to Expect: As it turns out, they have already made available a proof of concept (POC) version of postmarketOS with systemd on their official index, with a GNOME build which works on a limited number of devices.

If you are interested in building your own image, you can head over to the GitLab issue, which has the relevant instructions. But, for a stable build that you can just plop into your old smartphone, you will have to wait a little longer.

For more details on this switch to systemd, you can also refer to the official announcement blog.

💬 What do you think of this? Is the switch to systemd the right decision?


More from It's FOSS...

Latest