diff --git a/README.md b/README.md index d175193c..d4679805 100644 --- a/README.md +++ b/README.md @@ -44,21 +44,21 @@ run `mkosi -B -ff sysupdate -- update --reboot` which will update the system usi Sometimes ParticleOS adopts systemd features as soon as they get merged into systemd without waiting for an official release. That's why we recommend -enabling the `obs` profile to enable the systemd repositories on OBS +enabling the `obs-repos` profile to enable the systemd repositories on OBS (https://software.opensuse.org//download.html?project=system%3Asystemd&package=systemd) containing systemd packages which are built every day from systemd's git main branch. -To enable the `obs` profile, add the following to `mkosi.local.conf`: +To enable the `obs-repos` profile, add the following to `mkosi.local.conf`: ```conf [Config] -Profiles=obs +Profiles=obs-repos ``` ## Building systemd from source -As an alternative to using the `obs` profile, you can build systemd from source: +As an alternative to using the `obs-repos` profile, you can build systemd from source: ```sh git clone https://github.com/systemd/systemd diff --git a/mkosi.profiles/gnome/mkosi.conf.d/debian/mkosi.conf.d/gnome-xsession.conf b/mkosi.profiles/gnome/mkosi.conf.d/debian/mkosi.conf.d/gnome-xsession.conf deleted file mode 100644 index 0f3ed1dd..00000000 --- a/mkosi.profiles/gnome/mkosi.conf.d/debian/mkosi.conf.d/gnome-xsession.conf +++ /dev/null @@ -1,13 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later - -[TriggerMatch] -Distribution=debian -Release=trixie - -[TriggerMatch] -Distribution=ubuntu -Release=|oracular -Release=|plucky - -[Content] -Packages=gnome-session-xsession diff --git a/mkosi.profiles/obs/arch.conf b/mkosi.profiles/obs-repos/arch.conf similarity index 100% rename from mkosi.profiles/obs/arch.conf rename to mkosi.profiles/obs-repos/arch.conf diff --git a/mkosi.profiles/obs/mkosi.conf.d/arch-tools.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/arch-tools.conf similarity index 100% rename from mkosi.profiles/obs/mkosi.conf.d/arch-tools.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/arch-tools.conf diff --git a/mkosi.profiles/obs/mkosi.conf.d/arch.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/arch.conf similarity index 100% rename from mkosi.profiles/obs/mkosi.conf.d/arch.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/arch.conf diff --git a/mkosi.profiles/obs/mkosi.conf.d/debian-tools.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing-tools.conf similarity index 56% rename from mkosi.profiles/obs/mkosi.conf.d/debian-tools.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing-tools.conf index 54573e1d..12c5f27c 100644 --- a/mkosi.profiles/obs/mkosi.conf.d/debian-tools.conf +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing-tools.conf @@ -5,4 +5,4 @@ ToolsTreeDistribution=debian ToolsTreeRelease=testing [Build] -ToolsTreeSandboxTrees=debian.sources:/etc/apt/sources.list.d/systemd.sources +ToolsTreeSandboxTrees=mkosi.conf.d/testing.sources:/etc/apt/sources.list.d/systemd.sources diff --git a/mkosi.profiles/obs/mkosi.conf.d/debian.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing.conf similarity index 54% rename from mkosi.profiles/obs/mkosi.conf.d/debian.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing.conf index 691b5b06..e572dee3 100644 --- a/mkosi.profiles/obs/mkosi.conf.d/debian.conf +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing.conf @@ -5,4 +5,4 @@ Distribution=debian Release=testing [Build] -SandboxTrees=debian.sources:/etc/apt/sources.list.d/systemd.sources +SandboxTrees=mkosi.conf.d/testing.sources:/etc/apt/sources.list.d/systemd.sources diff --git a/mkosi.profiles/obs/debian.sources b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing.sources similarity index 100% rename from mkosi.profiles/obs/debian.sources rename to mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/testing.sources diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie-tools.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie-tools.conf new file mode 100644 index 00000000..2f3d2a55 --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie-tools.conf @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +ToolsTreeDistribution=debian +ToolsTreeRelease=trixie + +[Build] +ToolsTreeSandboxTrees=mkosi.conf.d/trixie.sources:/etc/apt/sources.list.d/systemd.sources diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.conf new file mode 100644 index 00000000..57cc848e --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.conf @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Distribution=debian +Release=trixie + +[Build] +SandboxTrees=mkosi.conf.d/trixie.sources:/etc/apt/sources.list.d/systemd.sources diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.sources b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.sources new file mode 100644 index 00000000..e5dbf809 --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/debian/mkosi.conf.d/trixie.sources @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +Types: deb +URIs: http://download.opensuse.org/repositories/system:/systemd/Debian_13/ +Suites: / +Signed-By: + -----BEGIN PGP PUBLIC KEY BLOCK----- + . + mQINBGeRJx8BEADqKZE5kFgSgfWDAyxe00hPpFkallYzPH7w2qHLXAZxeRo3tlHf + 8K5W02omR5/3sNEsEPVt5mjIo7gjvu/40Anw7c8H0/j/yw1YydVWBPvFqRFagRxf + HSVdoVL/+n8h/Fe1QO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wsQ9LXITy8HJU7UubOV9aReQslG4adwCHOtLOLS + eaFoffTr4S8HomntcGNWIXat26E55VAETAWYFtI= + =/SNl + -----END PGP PUBLIC KEY BLOCK----- diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43-tools.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43-tools.conf new file mode 100644 index 00000000..2441abd3 --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43-tools.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +ToolsTreeDistribution=fedora +ToolsTreeRelease=43 + +[Build] +ToolsTreeSandboxTrees=systemd.gpg:/usr/share/pki/rpm-gpg/systemd.gpg + 43.repo:/etc/yum.repos.d/systemd.repo diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.conf new file mode 100644 index 00000000..910ac322 --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Distribution=fedora +Release=43 + +[Build] +SandboxTrees=systemd.gpg:/usr/share/pki/rpm-gpg/systemd.gpg + mkosi.conf.d/43.repo:/etc/yum.repos.d/systemd.repo diff --git a/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.repo b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.repo new file mode 100644 index 00000000..baa484ac --- /dev/null +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/43.repo @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[systemd] +name=systemd packages built from upstream main (Fedora_43) +type=rpm-md +baseurl=https://download.opensuse.org/repositories/system:/systemd/Fedora_43/ +gpgcheck=1 +gpgkey=file:///usr/share/pki/rpm-gpg/systemd.gpg +enabled=1 diff --git a/mkosi.profiles/obs/mkosi.conf.d/fedora-tools.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide-tools.conf similarity index 74% rename from mkosi.profiles/obs/mkosi.conf.d/fedora-tools.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide-tools.conf index 123ce20a..09a28924 100644 --- a/mkosi.profiles/obs/mkosi.conf.d/fedora-tools.conf +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide-tools.conf @@ -6,4 +6,4 @@ ToolsTreeRelease=rawhide [Build] ToolsTreeSandboxTrees=systemd.gpg:/usr/share/pki/rpm-gpg/systemd.gpg - fedora.repo:/etc/yum.repos.d/systemd.repo + rawhide.repo:/etc/yum.repos.d/systemd.repo diff --git a/mkosi.profiles/obs/mkosi.conf.d/fedora.conf b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.conf similarity index 69% rename from mkosi.profiles/obs/mkosi.conf.d/fedora.conf rename to mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.conf index 17c61c55..c5fef24d 100644 --- a/mkosi.profiles/obs/mkosi.conf.d/fedora.conf +++ b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.conf @@ -6,4 +6,4 @@ Release=rawhide [Build] SandboxTrees=systemd.gpg:/usr/share/pki/rpm-gpg/systemd.gpg - fedora.repo:/etc/yum.repos.d/systemd.repo + mkosi.conf.d/rawhide.repo:/etc/yum.repos.d/systemd.repo diff --git a/mkosi.profiles/obs/fedora.repo b/mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.repo similarity index 100% rename from mkosi.profiles/obs/fedora.repo rename to mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.repo diff --git a/mkosi.profiles/obs/systemd-trusted b/mkosi.profiles/obs-repos/systemd-trusted similarity index 100% rename from mkosi.profiles/obs/systemd-trusted rename to mkosi.profiles/obs-repos/systemd-trusted diff --git a/mkosi.profiles/obs/systemd.gpg b/mkosi.profiles/obs-repos/systemd.gpg similarity index 100% rename from mkosi.profiles/obs/systemd.gpg rename to mkosi.profiles/obs-repos/systemd.gpg