mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-21 18:03:41 +03:00
Lennart Poettering
d9223c07f5
dissect: when mounting an image mount the XBOOTLDR partition to /boot
Previously, we'd mount the ESP to /efi if that existed and was empty, falling back to /boot if that existed and was empty. With this change, the XBOOTLDR partition is mounted to /boot unconditionally. And the EFI is mounted to /efi if that exists (but it doesn't have to be empty — after all the name is very indicative of what this is supposed to be), and to /boot as a fallback but only if it exists and is empty (we insist on emptiness for that, since it might be used differently than what we assume). The net effect is that $BOOT should be reliably found under /boot, and the ESP is either /efi or /boot. (Note that this commit only is relevant for nspawn and suchlike, i.e. the codepaths that mount an image without involving udev during boot.)
systemd - System and Service Manager
Details
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 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 or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Description
Languages
C
89.4%
Python
5.8%
Shell
2.1%
Meson
1.3%
HTML
0.9%
Other
0.4%