NOTE: This project was broken by a change in the 6.12 kernel that turns off cgroup v1 support by default. Therefore, this project is effectively retired.
This repo contains the debian directory necessary to build a Debian Trixie based debian package for MX Linux that has support for systemd-shim. It needs a modified systemd-shim (available here: https://salsa.debian.org/knelsonmeister/systemd-shim or https://github.com/knelsonmeister/systemd-shim)
Systemd-shim allows a system to boot up using a SYSV init, but still be able to support the modern programs that depend on systemd. It is not perfect, but it allows for a Linux distribution to support both SYSV init and systemd as a choice in the grub boot menu. MX Linux does just that. Debian used to support systemd-shim, but support was dropped in Debian Buster. This repo and the systemd-shim repo linked above are an effort to maintain the systemd-shim support in Debian Trixie.
- Propped forward 4 patches from old systemd that were removed when systemd-shim was removed
- Updated debian/patches/series file to add the 4 patches
- Added a new patch for Debian Trixie
NOTE: The tests phase of the compile will fail if compiling on a system not running systemd as init. By default MX Linux does not run systemd as init, but it can be selected in the grub menu on boot.
# Clone from Salsa or...
git clone https://salsa.debian.org/knelsonmeister/systemd.git
# Clone from GitHub
git clone https://github.com/knelsonmeister/systemd.git
# To build just the binary packages
cd systemd
git checkout debian/trixie
dpkg-buildpackage -uc -us -b
cd ..
# To build both the binary and source packages
wget http://deb.debian.org/debian/pool/main/s/systemd/systemd_257.5.orig.tar.gz
cd systemd
git checkout debian/trixie
# NOTE: the "-i.*" will ignore all changes to the repo from the
# orig.tar.gz above (ex: this README.md file)
dpkg-buildpackage -uc -us -i.*
cd ..
System and Service Manager
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack