]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
HACKING: Move OBS section further down
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 24 Jan 2025 16:28:15 +0000 (17:28 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 24 Jan 2025 16:28:15 +0000 (17:28 +0100)
HACKING.md should first and foremost tell someone how to hack on
systemd, installing packages from OBS isn't the most likely section
a new contributor will be interested in, so let's move it further
down.

docs/HACKING.md

index b0cba3da0f8926277739d4bb6970cb1c8afe1a04..64544f9668d6c0899731e91b5eb3fe010c5c737c 100644 (file)
@@ -23,21 +23,6 @@ test executable. For features at a higher level, tests in `src/test/` are very
 strongly recommended. If that is not possible, integration tests in `test/` are
 encouraged. Please always test your work before submitting a PR.
 
-## Installing packages built from the main branch
-
-Packages for main distributions are built on the SUSE Open Build Service and
-repositories are published, so that they can be installed and upgraded easily.
-
-Instructions on how to add the repository for each supported distribution can
-[be found on OBS.](https://software.opensuse.org//download.html?project=system%3Asystemd&package=systemd)
-The `systemd-boot` file is signed for Secure Boot, the self-signed certificate
-can be downloaded for enrollment. For example, when using MOK Manager:
-
-```sh
-$ wget https://build.opensuse.org/projects/system:systemd/signing_keys/download?kind=ssl -O- | openssl x509 -inform pem -outform der -out obs.der
-$ run0 mokutil --import obs.der
-```
-
 ## Hacking on systemd with mkosi
 
 [mkosi](https://mkosi.systemd.io/) is our swiss army knife for hacking on
@@ -161,6 +146,21 @@ run0 dnf downgrade "systemd*" # Fedora/CentOS
 # TODO: Other distributions
 ```
 
+## Installing packages built from the main branch
+
+Packages for main distributions are built on the SUSE Open Build Service and
+repositories are published, so that they can be installed and upgraded easily.
+
+Instructions on how to add the repository for each supported distribution can
+[be found on OBS.](https://software.opensuse.org//download.html?project=system%3Asystemd&package=systemd)
+The `systemd-boot` file is signed for Secure Boot, the self-signed certificate
+can be downloaded for enrollment. For example, when using MOK Manager:
+
+```sh
+$ wget https://build.opensuse.org/projects/system:systemd/signing_keys/download?kind=ssl -O- | openssl x509 -inform pem -outform der -out obs.der
+$ run0 mokutil --import obs.der
+```
+
 ## Templating engines in .in files
 
 Some source files are generated during build. We use two templating engines: