]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Move all mkosi configuration into mkosi/ subdirectory
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Apr 2025 12:27:45 +0000 (14:27 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 3 Apr 2025 07:59:15 +0000 (09:59 +0200)
Now that mkosi can automatically pick up its main configuration from
a mkosi/ subdirectory if it exists and there is no configuration in the
top level directory, let's make use of it  to reduce the amount of clutter
in the top level directory of the repository.

This will also make it easier to install the mkosi configuration files as
part of the testing packages later on.

145 files changed:
.github/workflows/coverage.yml
.github/workflows/mkosi.yml
.gitignore
.packit.yml
docs/HACKING.md
docs/TESTING_WITH_SANITIZERS.md
mkosi/mkosi.clangd [moved from mkosi.clangd with 99% similarity]
mkosi/mkosi.clean [moved from mkosi.clean with 100% similarity]
mkosi/mkosi.conf [moved from mkosi.conf with 89% similarity]
mkosi/mkosi.conf.d/arch/mkosi.conf [moved from mkosi.conf.d/arch/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/arch/mkosi.conf.d/debug.conf [moved from mkosi.conf.d/arch/mkosi.conf.d/debug.conf with 100% similarity]
mkosi/mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf [moved from mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf with 100% similarity]
mkosi/mkosi.conf.d/arch/mkosi.prepare [moved from mkosi.conf.d/arch/mkosi.prepare with 100% similarity]
mkosi/mkosi.conf.d/build.conf [moved from mkosi.conf.d/build.conf with 100% similarity]
mkosi/mkosi.conf.d/centos-fedora/mkosi.conf [moved from mkosi.conf.d/centos-fedora/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/debug.conf [moved from mkosi.conf.d/centos-fedora/mkosi.conf.d/debug.conf with 100% similarity]
mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf [moved from mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf with 100% similarity]
mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/selinux.conf [moved from mkosi.conf.d/centos-fedora/mkosi.conf.d/selinux.conf with 100% similarity]
mkosi/mkosi.conf.d/centos-fedora/mkosi.prepare [moved from mkosi.conf.d/centos-fedora/mkosi.prepare with 100% similarity]
mkosi/mkosi.conf.d/centos/mkosi.conf [moved from mkosi.conf.d/centos/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/centos/mkosi.conf.d/10-epel.conf [moved from mkosi.conf.d/centos/mkosi.conf.d/10-epel.conf with 100% similarity]
mkosi/mkosi.conf.d/centos/mkosi.conf.d/20-epel-packages.conf [moved from mkosi.conf.d/centos/mkosi.conf.d/20-epel-packages.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf [moved from mkosi.conf.d/debian-ubuntu/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/debug.conf [moved from mkosi.conf.d/debian-ubuntu/mkosi.conf.d/debug.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/efi.conf [moved from mkosi.conf.d/debian-ubuntu/mkosi.conf.d/efi.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/network.conf [moved from mkosi.conf.d/debian-ubuntu/mkosi.conf.d/network.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf [moved from mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf with 100% similarity]
mkosi/mkosi.conf.d/debian-ubuntu/mkosi.prepare [moved from mkosi.conf.d/debian-ubuntu/mkosi.prepare with 100% similarity]
mkosi/mkosi.conf.d/debian/mkosi.conf [moved from mkosi.conf.d/debian/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/debian/mkosi.conf.d/arm64.conf [moved from mkosi.conf.d/debian/mkosi.conf.d/arm64.conf with 100% similarity]
mkosi/mkosi.conf.d/debian/mkosi.conf.d/x86-64.conf [moved from mkosi.conf.d/debian/mkosi.conf.d/x86-64.conf with 100% similarity]
mkosi/mkosi.conf.d/extra-search-path.conf [moved from mkosi.conf.d/extra-search-path.conf with 100% similarity]
mkosi/mkosi.conf.d/fedora/mkosi.conf [moved from mkosi.conf.d/fedora/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/fedora/mkosi.conf.d/rawhide-42.conf [moved from mkosi.conf.d/fedora/mkosi.conf.d/rawhide-42.conf with 100% similarity]
mkosi/mkosi.conf.d/none.conf [moved from mkosi.conf.d/none.conf with 100% similarity]
mkosi/mkosi.conf.d/opensuse/macros.db_backend [moved from mkosi.conf.d/opensuse/macros.db_backend with 100% similarity]
mkosi/mkosi.conf.d/opensuse/mkosi.conf [moved from mkosi.conf.d/opensuse/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/opensuse/mkosi.conf.d/debug.conf [moved from mkosi.conf.d/opensuse/mkosi.conf.d/debug.conf with 100% similarity]
mkosi/mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf [moved from mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf with 100% similarity]
mkosi/mkosi.conf.d/opensuse/mkosi.prepare [moved from mkosi.conf.d/opensuse/mkosi.prepare with 100% similarity]
mkosi/mkosi.conf.d/ubuntu/mkosi.conf [moved from mkosi.conf.d/ubuntu/mkosi.conf with 100% similarity]
mkosi/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf [moved from mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf with 58% similarity]
mkosi/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf [moved from mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf with 60% similarity]
mkosi/mkosi.conf.d/ubuntu/noble-backports-ports.sources [moved from mkosi.conf.d/ubuntu/noble-backports-ports.sources with 100% similarity]
mkosi/mkosi.conf.d/ubuntu/noble-backports.sources [moved from mkosi.conf.d/ubuntu/noble-backports.sources with 100% similarity]
mkosi/mkosi.coverage/mkosi.conf [moved from mkosi.coverage/mkosi.conf with 100% similarity]
mkosi/mkosi.coverage/mkosi.postinst [moved from mkosi.coverage/mkosi.postinst with 100% similarity]
mkosi/mkosi.credentials/userdb.group.testuser [moved from mkosi.credentials/userdb.group.testuser with 100% similarity]
mkosi/mkosi.credentials/userdb.user.testuser [moved from mkosi.credentials/userdb.user.testuser with 100% similarity]
mkosi/mkosi.extra.common/etc/issue [moved from mkosi.extra.common/etc/issue with 98% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/coredump.conf.d/10-coredump-journal-storage.conf [moved from mkosi.extra.common/usr/lib/systemd/coredump.conf.d/10-coredump-journal-storage.conf with 100% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/coverage-forwarder [moved from mkosi.extra.common/usr/lib/systemd/coverage-forwarder with 100% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/journald.conf.d/ratelimit.conf [moved from mkosi.extra.common/usr/lib/systemd/journald.conf.d/ratelimit.conf with 100% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset [moved from mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset with 100% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/system-preset/99-mkosi.preset [moved from mkosi.extra.common/usr/lib/systemd/system-preset/99-mkosi.preset with 100% similarity]
mkosi/mkosi.extra.common/usr/lib/systemd/system/coverage-forwarder.service [moved from mkosi.extra.common/usr/lib/systemd/system/coverage-forwarder.service with 100% similarity]
mkosi/mkosi.extra/etc/iscsi/iscsid.conf [moved from mkosi.extra/etc/iscsi/iscsid.conf with 100% similarity]
mkosi/mkosi.extra/root/.gdbinit [moved from mkosi.extra/root/.gdbinit with 100% similarity]
mkosi/mkosi.extra/usr/lib/sysctl.d/99-apparmor-unpriv-userns.conf [moved from mkosi.extra/usr/lib/sysctl.d/99-apparmor-unpriv-userns.conf with 100% similarity]
mkosi/mkosi.extra/usr/lib/systemd/system/user@.service.d/99-SYSTEMD_UNIT_PATH.conf [moved from mkosi.extra/usr/lib/systemd/system/user@.service.d/99-SYSTEMD_UNIT_PATH.conf with 100% similarity]
mkosi/mkosi.extra/usr/lib/tmpfiles.d/snapshot.conf [moved from mkosi.extra/usr/lib/tmpfiles.d/snapshot.conf with 100% similarity]
mkosi/mkosi.extra/usr/share/dbus-1/system.d/systemd.test.ExecStopPost.conf [moved from mkosi.extra/usr/share/dbus-1/system.d/systemd.test.ExecStopPost.conf with 100% similarity]
mkosi/mkosi.finalize [moved from mkosi.finalize with 100% similarity]
mkosi/mkosi.functions [moved from mkosi.functions with 100% similarity]
mkosi/mkosi.images/build/mkosi.build.chroot [moved from mkosi.images/build/mkosi.build.chroot with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf [moved from mkosi.images/build/mkosi.conf with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot [moved from mkosi.images/build/mkosi.conf.d/arch/mkosi.build.chroot with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/arch/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/arch/mkosi.conf with 75% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/arch/mkosi.prepare [moved from mkosi.images/build/mkosi.conf.d/arch/mkosi.prepare with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot [moved from mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot with 99% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf with 79% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.prepare [moved from mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.prepare with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/centos/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/centos/mkosi.conf with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/centos/mkosi.conf.d/epel-packages.conf [moved from mkosi.images/build/mkosi.conf.d/centos/mkosi.conf.d/epel-packages.conf with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot [moved from mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.conf with 77% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.prepare [moved from mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.prepare with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/fedora/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/fedora/mkosi.conf with 100% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot [moved from mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot with 99% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.conf [moved from mkosi.images/build/mkosi.conf.d/opensuse/mkosi.conf with 82% similarity]
mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.prepare [moved from mkosi.images/build/mkosi.conf.d/opensuse/mkosi.prepare with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf [moved from mkosi.images/exitrd/mkosi.conf with 85% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/arch.conf [moved from mkosi.images/exitrd/mkosi.conf.d/arch.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/build.conf [moved from mkosi.images/exitrd/mkosi.conf.d/build.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/centos-fedora.conf [moved from mkosi.images/exitrd/mkosi.conf.d/centos-fedora.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/debian.conf [moved from mkosi.images/exitrd/mkosi.conf.d/debian.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/opensuse.conf [moved from mkosi.images/exitrd/mkosi.conf.d/opensuse.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.conf.d/ubuntu.conf [moved from mkosi.images/exitrd/mkosi.conf.d/ubuntu.conf with 100% similarity]
mkosi/mkosi.images/exitrd/mkosi.extra/shutdown [moved from mkosi.images/exitrd/mkosi.extra/shutdown with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf [moved from mkosi.images/initrd/mkosi.conf with 60% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/arch.conf [moved from mkosi.images/initrd/mkosi.conf.d/arch.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/build.conf [moved from mkosi.images/initrd/mkosi.conf.d/build.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/centos-fedora.conf [moved from mkosi.images/initrd/mkosi.conf.d/centos-fedora.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/debian-ubuntu.conf [moved from mkosi.images/initrd/mkosi.conf.d/debian-ubuntu.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/fedora.conf [moved from mkosi.images/initrd/mkosi.conf.d/fedora.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.conf.d/opensuse.conf [moved from mkosi.images/initrd/mkosi.conf.d/opensuse.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/encrypted-var.repart.d/00-root.conf [moved from mkosi.images/initrd/mkosi.extra/usr/lib/encrypted-var.repart.d/00-root.conf with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/encrypted-var.service [moved from mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/encrypted-var.service with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/initrd-run-mount.service [moved from mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/initrd-run-mount.service with 100% similarity]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/initrdcred.service [moved from mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/initrdcred.service with 100% similarity]
mkosi/mkosi.images/minimal-0/mkosi.conf [moved from mkosi.images/minimal-0/mkosi.conf with 100% similarity]
mkosi/mkosi.images/minimal-0/mkosi.extra/opt/some_file [moved from mkosi.images/minimal-0/mkosi.extra/opt/some_file with 100% similarity]
mkosi/mkosi.images/minimal-0/mkosi.extra/usr/lib/systemd/system/minimal-app0.service [moved from mkosi.images/minimal-0/mkosi.extra/usr/lib/systemd/system/minimal-app0.service with 100% similarity]
mkosi/mkosi.images/minimal-0/mkosi.postinst [moved from mkosi.images/minimal-0/mkosi.postinst with 100% similarity]
mkosi/mkosi.images/minimal-1/mkosi.conf [moved from mkosi.images/minimal-1/mkosi.conf with 100% similarity]
mkosi/mkosi.images/minimal-1/mkosi.extra/opt/some_file [moved from mkosi.images/minimal-1/mkosi.extra/opt/some_file with 100% similarity]
mkosi/mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service [moved from mkosi.images/minimal-1/mkosi.extra/usr/lib/systemd/system/minimal-app0.service with 100% similarity]
mkosi/mkosi.images/minimal-1/mkosi.postinst [moved from mkosi.images/minimal-1/mkosi.postinst with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf [moved from mkosi.images/minimal-base/mkosi.conf with 87% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf.d/arch.conf [moved from mkosi.images/minimal-base/mkosi.conf.d/arch.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf.d/build.conf [moved from mkosi.images/minimal-base/mkosi.conf.d/build.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf.d/centos-fedora.conf [moved from mkosi.images/minimal-base/mkosi.conf.d/centos-fedora.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf.d/debian-ubuntu.conf [moved from mkosi.images/minimal-base/mkosi.conf.d/debian-ubuntu.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.conf.d/opensuse.conf [moved from mkosi.images/minimal-base/mkosi.conf.d/opensuse.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.extra/etc/os-release [moved from mkosi.images/minimal-base/mkosi.extra/etc/os-release with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.extra/etc/resolv.conf [moved from mkosi.images/minimal-base/mkosi.extra/etc/resolv.conf with 100% similarity]
mkosi/mkosi.images/minimal-base/mkosi.postinst [moved from mkosi.images/minimal-base/mkosi.postinst with 100% similarity]
mkosi/mkosi.postinst.chroot [moved from mkosi.postinst.chroot with 100% similarity]
mkosi/mkosi.repart/00-esp.conf [moved from mkosi.repart/00-esp.conf with 100% similarity]
mkosi/mkosi.repart/10-root.conf [moved from mkosi.repart/10-root.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.conf [moved from mkosi.sanitizers/mkosi.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.conf.d/arch.conf [moved from mkosi.sanitizers/mkosi.conf.d/arch.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.conf.d/debian-ubuntu.conf [moved from mkosi.sanitizers/mkosi.conf.d/debian-ubuntu.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.conf.d/opensuse.conf [moved from mkosi.sanitizers/mkosi.conf.d/opensuse.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/leak-sanitizer-suppressions [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/leak-sanitizer-suppressions with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system.conf.d/10-sanitizers.conf [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system.conf.d/10-sanitizers.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/iscsi-init.service.d/10-asan.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/service.d/10-timeout-abort.conf [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/service.d/10-timeout-abort.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/systemd-coredump@.service.d/10-asan.conf [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/systemd-coredump@.service.d/10-asan.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/systemd-journald.service.d/10-stdout-tty.conf [moved from mkosi.sanitizers/mkosi.extra/usr/lib/systemd/system/systemd-journald.service.d/10-stdout-tty.conf with 100% similarity]
mkosi/mkosi.sanitizers/mkosi.postinst [moved from mkosi.sanitizers/mkosi.postinst with 100% similarity]
mkosi/mkosi.sync [moved from mkosi.sync with 100% similarity]
mkosi/mkosi.tools.conf/mkosi.conf [moved from mkosi.tools.conf/mkosi.conf with 83% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/arch.conf [moved from mkosi.tools.conf/mkosi.conf.d/arch.conf with 59% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/centos-fedora.conf [moved from mkosi.tools.conf/mkosi.conf.d/centos-fedora.conf with 52% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/debian-ubuntu.conf [moved from mkosi.tools.conf/mkosi.conf.d/debian-ubuntu.conf with 54% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/fedora.conf [moved from mkosi.tools.conf/mkosi.conf.d/fedora.conf with 100% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/opensuse.conf [moved from mkosi.tools.conf/mkosi.conf.d/opensuse.conf with 58% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf [moved from mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf with 100% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf [moved from mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf with 58% similarity]
mkosi/mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf [moved from mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf with 60% similarity]
mkosi/mkosi.uki-profiles/profile1.conf [moved from mkosi.uki-profiles/profile1.conf with 100% similarity]
mkosi/mkosi.uki-profiles/profile2.conf [moved from mkosi.uki-profiles/profile2.conf with 100% similarity]
test/integration-tests/README.md
tools/fetch-distro.py

index 96da8a0f9813027459c3add382c44cd089d7c126..29d2f8d32b1d04cd2dd64175dceb058e27156955 100644 (file)
@@ -53,7 +53,7 @@ jobs:
           # XXX: drop after the HyperV bug that breaks secure boot KVM guests is solved
           sed -i "s/'firmware'\s*:\s*'auto'/'firmware' : 'uefi'/g" test/*/meson.build
 
-          tee mkosi.local.conf <<EOF
+          tee mkosi/mkosi.local.conf <<EOF
           [Distribution]
           Distribution=arch
 
index 0d0b9bf5c9da5fed5b6aa1c79e074fb30e2e0c79..e41052d09443254039ff30ef1f62cfd0e608f6fe 100644 (file)
@@ -146,7 +146,7 @@ jobs:
 
       - name: Configure
         run: |
-          tee mkosi.local.conf <<EOF
+          tee mkosi/mkosi.local.conf <<EOF
           [Distribution]
           Distribution=${{ matrix.distro }}
           Release=${{ matrix.release }}
index 0944d31106471694c8c5bffb241eddc723cdde21..a6e1ba566f8c2ab4a3d6733b6ad9eff7d787cf5f 100644 (file)
@@ -24,15 +24,11 @@ __pycache__/
 /ID
 /build*
 /install-tree
-/mkosi.builddir/
-/mkosi.output/
-/mkosi.installdir/
 /mkosi.key
 /mkosi.crt
 /mkosi.tools/
 /mkosi.tools.manifest
-/.mkosi-private/
-mkosi.local.conf
+/mkosi/mkosi.local.conf
 /tags
 .dir-locals-2.el
 .vscode/
index 39db52bc7c5b3103590e10108e782fbde276926c..2793eb558977510f8992bed715722179956f6de5 100644 (file)
@@ -19,7 +19,7 @@ actions:
   post-upstream-clone:
     # Use the Fedora Rawhide specfile
     - git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm
-    - bash -c 'git -C .packit_rpm checkout "$(grep GIT_COMMIT= mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf | cut -d= -f2)"'
+    - bash -c 'git -C .packit_rpm checkout "$(grep GIT_COMMIT= mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf | cut -d= -f2)"'
     - bash -c 'echo "%bcond upstream 1" > .packit_rpm/systemd.spec.new'
     - bash -c 'echo "%define meson_extra_configure_options --werror" >> .packit_rpm/systemd.spec.new'
     - bash -c 'cat .packit_rpm/systemd.spec >> .packit_rpm/systemd.spec.new'
index 6baa3ae393a287f3301942d4df8635661f650b9d..c076aa303bfc917fc840b0e472ff46c64b501f5b 100644 (file)
@@ -86,7 +86,7 @@ not required to write basic patches.
 
 By default, `mkosi` will first build a tools tree and use it build the image and
 provide the environment for `mkosi sandbox`. To disable the tools tree and use
-binaries from your host instead, write the following to `mkosi.local.conf`:
+binaries from your host instead, write the following to `mkosi/mkosi.local.conf`:
 
 ```conf
 [Build]
@@ -317,6 +317,6 @@ VScode, you'd have to add the following to the VSCode workspace settings of the
 
 ```json
 {
-    "clangd.path": "<path-to-systemd-repository>/mkosi.clangd",
+    "clangd.path": "<path-to-systemd-repository>/mkosi/mkosi.clangd",
 }
 ```
index 9b5b0896c0d4b4db25b4596ef940d20b7f93cd1a..0b4e726540045147edab9cef34f2d2b760046bea 100644 (file)
@@ -15,7 +15,7 @@ compiler you want to use and which part of the test suite you want to run.
 
 ## mkosi
 
-To build with sanitizers in mkosi, create a file `mkosi.local.conf` and add the following contents:
+To build with sanitizers in mkosi, create a file `mkosi/mkosi.local.conf` and add the following contents:
 
 ```
 [Content]
similarity index 99%
rename from mkosi.clangd
rename to mkosi/mkosi.clangd
index 7bbc67626fe9c6d0d45d332638af22edb590c52d..44c1128a91e5a3f6ed66466dc32d627d7f11e0af 100755 (executable)
@@ -22,4 +22,3 @@ exec "${SPAWN[@]}" mkosi \
 $(pwd)=/work/src,\
 $BUILDDIR/$BUILDSUBDIR=/work/build"\
     "$@"
-
similarity index 100%
rename from mkosi.clean
rename to mkosi/mkosi.clean
similarity index 89%
rename from mkosi.conf
rename to mkosi/mkosi.conf
index 8c3695bef247fe5993a8bdfd9b93d953ae5d8185..f4b556a0d7b3e36f7480ccde964ebca337ad770e 100644 (file)
@@ -26,23 +26,27 @@ PassEnvironment=
 
 [Output]
 RepartDirectories=mkosi.repart
-OutputDirectory=build/mkosi.output
+OutputDirectory=../build/mkosi.output
 
 [Build]
 History=yes
 ToolsTree=default
-BuildDirectory=build/mkosi.builddir
-CacheDirectory=build/mkosi.cache
+BuildDirectory=../build/mkosi.builddir
+CacheDirectory=../build/mkosi.cache
 Incremental=yes
 WithTests=no
 
 [Validation]
 SignExpectedPcr=yes
+SignExpectedPcrKey=../mkosi.key
+SignExpectedPcrCertificate=../mkosi.crt
+VerityKey=../mkosi.key
+VerityCertificate=../mkosi.crt
 
 [Content]
 ExtraTrees=
         mkosi.extra.common
-        mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
+        ../mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
         %O/minimal-0.root-%a.raw:/usr/share/minimal_0.raw
         %O/minimal-0.root-%a-verity.raw:/usr/share/minimal_0.verity
         %O/minimal-0.root-%a-verity-sig.raw:/usr/share/minimal_0.verity.sig
@@ -148,5 +152,5 @@ VSock=yes
 KVM=yes
 
 [Include]
-Include=%D/mkosi.sanitizers
-        %D/mkosi.coverage
+Include=%D/mkosi/mkosi.sanitizers
+        %D/mkosi/mkosi.coverage
similarity index 58%
rename from mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf
rename to mkosi/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf
index 255358967c8733bd3ad2446a00469f99e7029db8..eb0e8b80ad083f41e480637e5be0680d6de8994e 100644 (file)
@@ -7,4 +7,4 @@ Architecture=!x86
 Release=noble
 
 [Build]
-SandboxTrees=%D/mkosi.conf.d/ubuntu/noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources
+SandboxTrees=%D/mkosi/mkosi.conf.d/ubuntu/noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources
similarity index 60%
rename from mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf
rename to mkosi/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf
index 5463bd794a2b87426bc3b500089b5131bd8f928b..f6556dd4071885efa3914e09dc371c7c17c0dabe 100644 (file)
@@ -7,4 +7,4 @@ Architecture=|x86
 Release=noble
 
 [Build]
-SandboxTrees=%D/mkosi.conf.d/ubuntu/noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources
+SandboxTrees=%D/mkosi/mkosi.conf.d/ubuntu/noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources
similarity index 98%
rename from mkosi.extra.common/etc/issue
rename to mkosi/mkosi.extra.common/etc/issue
index eb97dd17f46041615b52dc768f15c179d1d21083..6aa6fc0ec06777474d2f4e1eca2361b2d6999b9b 100644 (file)
@@ -1,3 +1,2 @@
 \S (built from systemd tree)
 Kernel \r on an \m (\l)
-
similarity index 100%
rename from mkosi.finalize
rename to mkosi/mkosi.finalize
similarity index 100%
rename from mkosi.functions
rename to mkosi/mkosi.functions
similarity index 75%
rename from mkosi.images/build/mkosi.conf.d/arch/mkosi.conf
rename to mkosi/mkosi.images/build/mkosi.conf.d/arch/mkosi.conf
index 2e54455354c3aa1f9352c18342dcb25fc385a416..9809fbc252218251d6182443e03f4d64ddddfa3f 100644 (file)
@@ -4,7 +4,7 @@
 Distribution=arch
 
 [Include]
-Include=%D/mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf
 
 [Content]
 Packages=
similarity index 99%
rename from mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot
rename to mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot
index ee50071869ed9e9306724463bc730ed07a0aeea1..1d617cb7ce0c74dc7426802be0ff242bc4145663 100755 (executable)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 set -e
 
-. mkosi.functions
+. mkosi/mkosi.functions
 
 if [[ "$1" == "clangd" ]]; then
     exit 0
similarity index 79%
rename from mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf
rename to mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf
index 89fdfc4b20ab8592e6a236e5fff30ae22b95d237..438c0ab4ef8a10789f83f30b1bac411b9979387f 100644 (file)
@@ -5,7 +5,7 @@ Distribution=|centos
 Distribution=|fedora
 
 [Include]
-Include=%D/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf
 
 [Content]
 Packages=
similarity index 77%
rename from mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.conf
rename to mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.conf
index 7fac74772b9de495bd1d758920f403dcb75dd136..ee71965f297300d6baad968fd30c0e83326c6163 100644 (file)
@@ -5,7 +5,7 @@ Distribution=|debian
 Distribution=|ubuntu
 
 [Include]
-Include=%D/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf
 
 [Content]
 Packages=
similarity index 99%
rename from mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
rename to mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
index 2363b92ad5c881337f89db198570e2fcd4030e7e..44ef675168c2a837be05b5d37c5662fa135db4c9 100755 (executable)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 set -e
 
-. mkosi.functions
+. mkosi/mkosi.functions
 
 if [[ "$1" == "clangd" ]]; then
     exit 0
similarity index 82%
rename from mkosi.images/build/mkosi.conf.d/opensuse/mkosi.conf
rename to mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.conf
index 00a45fce5b75ae602488b15ff53e761354a5799f..68ae1b33f0627e40f7a68fa16a722b1cc4fef0c2 100644 (file)
@@ -4,7 +4,7 @@
 Distribution=opensuse
 
 [Include]
-Include=%D/mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf
 
 [Content]
 Packages=
similarity index 85%
rename from mkosi.images/exitrd/mkosi.conf
rename to mkosi/mkosi.images/exitrd/mkosi.conf
index ea4fc806bf38243fe9457c85fd01d81086c50635..f1e8e45dcd002dc8b80bc2984cf4a9c8d538576d 100644 (file)
@@ -14,4 +14,4 @@ Packages=
         bash
 
 [Include]
-Include=%D/mkosi.sanitizers
+Include=%D/mkosi/mkosi.sanitizers
similarity index 60%
rename from mkosi.images/initrd/mkosi.conf
rename to mkosi/mkosi.images/initrd/mkosi.conf
index ac66dd933b4e4264400f6cd0019f20c029c64b51..bee0911fc9be04ccaca2869754671f6d89c32ac4 100644 (file)
@@ -3,11 +3,11 @@
 [Include]
 Include=
         mkosi-initrd
-        %D/mkosi.sanitizers
-        %D/mkosi.coverage
+        %D/mkosi/mkosi.sanitizers
+        %D/mkosi/mkosi.coverage
 
 [Content]
-ExtraTrees=%D/mkosi.extra.common
+ExtraTrees=%D/mkosi/mkosi.extra.common
 
 Packages=
         findutils
similarity index 87%
rename from mkosi.images/minimal-base/mkosi.conf
rename to mkosi/mkosi.images/minimal-base/mkosi.conf
index 56040f8b21ea47b10b9ddc27b4ddef14affa7bc4..b51ac638d6f6590887768aa21f64209866ad0764 100644 (file)
@@ -16,4 +16,4 @@ Packages=
         util-linux
 
 [Include]
-Include=%D/mkosi.sanitizers
+Include=%D/mkosi/mkosi.sanitizers
similarity index 100%
rename from mkosi.sync
rename to mkosi/mkosi.sync
similarity index 83%
rename from mkosi.tools.conf/mkosi.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf
index a83e07a13e6b8877038ebf9f82f218a56b9fe415..6be11eb6af1273d137d8bd97fec3564a48e254f0 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 [Content]
-SyncScripts=%D/mkosi.sync
+SyncScripts=%D/mkosi/mkosi.sync
 Packages=
         gdb
         llvm
similarity index 59%
rename from mkosi.tools.conf/mkosi.conf.d/arch.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/arch.conf
index 75570ffe0c636d2cae6b57304d303b4dacad4526..20e7abc14aa8df7e09bc667ab12f307fcf9a3204 100644 (file)
@@ -4,10 +4,10 @@
 Distribution=arch
 
 [Include]
-Include=%D/mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/arch/mkosi.conf.d/pkgenv.conf
 
 [Content]
-PrepareScripts=%D/mkosi.images/build/mkosi.conf.d/arch/mkosi.prepare
+PrepareScripts=%D/mkosi/mkosi.images/build/mkosi.conf.d/arch/mkosi.prepare
 Packages=
         base-devel
         github-cli
similarity index 52%
rename from mkosi.tools.conf/mkosi.conf.d/centos-fedora.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/centos-fedora.conf
index 8f5f07addf5f811907285778147a50e8be9ade77..268539f1ffab5e27099f388369d0e8e522cc1501 100644 (file)
@@ -5,10 +5,10 @@ Distribution=|fedora
 Distribution=|centos
 
 [Include]
-Include=%D/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/centos-fedora/mkosi.conf.d/pkgenv.conf
 
 [Content]
-PrepareScripts=%D/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.prepare
+PrepareScripts=%D/mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.prepare
 Packages=
         python3-mypy
         rpm-build
similarity index 54%
rename from mkosi.tools.conf/mkosi.conf.d/debian-ubuntu.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/debian-ubuntu.conf
index 0a34b867c9b43f4ecf1dfba25004f0d7070c378a..6bbfab78d61229a8a269c6f1e10b3cc3803982f0 100644 (file)
@@ -5,10 +5,10 @@ Distribution=|debian
 Distribution=|ubuntu
 
 [Include]
-Include=%D/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/debian-ubuntu/mkosi.conf.d/pkgenv.conf
 
 [Content]
-PrepareScripts=%D/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.prepare
+PrepareScripts=%D/mkosi/mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.prepare
 Packages=
         gh
         lcov
similarity index 58%
rename from mkosi.tools.conf/mkosi.conf.d/opensuse.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/opensuse.conf
index 6fd1c746d60c243aba7e706205c9f729e1d531fb..77d54130f7b00492e73f28a840806b8dcb1a23e1 100644 (file)
@@ -4,10 +4,10 @@
 Distribution=opensuse
 
 [Include]
-Include=%D/mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf
+Include=%D/mkosi/mkosi.conf.d/opensuse/mkosi.conf.d/pkgenv.conf
 
 [Content]
-PrepareScripts=%D/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.prepare
+PrepareScripts=%D/mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.prepare
 Packages=
         gh
         lcov
similarity index 58%
rename from mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/non-x86.conf
index 255358967c8733bd3ad2446a00469f99e7029db8..eb0e8b80ad083f41e480637e5be0680d6de8994e 100644 (file)
@@ -7,4 +7,4 @@ Architecture=!x86
 Release=noble
 
 [Build]
-SandboxTrees=%D/mkosi.conf.d/ubuntu/noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources
+SandboxTrees=%D/mkosi/mkosi.conf.d/ubuntu/noble-backports-ports.sources:/etc/apt/sources.list.d/noble-backports-ports.sources
similarity index 60%
rename from mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf
rename to mkosi/mkosi.tools.conf/mkosi.conf.d/ubuntu/mkosi.conf.d/x86.conf
index 5463bd794a2b87426bc3b500089b5131bd8f928b..f6556dd4071885efa3914e09dc371c7c17c0dabe 100644 (file)
@@ -7,4 +7,4 @@ Architecture=|x86
 Release=noble
 
 [Build]
-SandboxTrees=%D/mkosi.conf.d/ubuntu/noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources
+SandboxTrees=%D/mkosi/mkosi.conf.d/ubuntu/noble-backports.sources:/etc/apt/sources.list.d/noble-backports.sources
index 1314bf013106476d72b08b94a885ebf86adea1e4..7aebc89201b9d01d116e9ae8959c14dc26707d06 100644 (file)
@@ -33,7 +33,7 @@ $ mkosi -f
 Note that by default we assume that `build/` is used as the meson build directory that will be used to run
 the integration tests. If you want to use another directory as the meson build directory, you will have to
 configure the mkosi build directory (`BuildDirectory=`), cache directory (`CacheDirectory=`) and output
-directory (`OutputDirectory=`) to point to the other directory using `mkosi.local.conf`.
+directory (`OutputDirectory=`) to point to the other directory using `mkosi/mkosi.local.conf`.
 
 After the image has been built, the integration tests can be run with:
 
@@ -69,7 +69,7 @@ $ mkosi -f sandbox -- meson compile -C build mkosi && env SYSTEMD_INTEGRATION_TE
 
 The integration tests use the same mkosi configuration that's used when you run
 mkosi in the systemd reposistory, so any local modifications to the mkosi
-configuration (e.g. in `mkosi.local.conf`) are automatically picked up and used
+configuration (e.g. in `mkosi/mkosi.local.conf`) are automatically picked up and used
 by the integration tests as well.
 
 ## Iterating on an integration test
@@ -144,7 +144,7 @@ progress and only move the journal to its final location in the build directory
 ## Running the integration tests without building systemd from source
 
 If you want to run the integration tests against prebuilt systemd packages,
-first add the following to `mkosi.local.conf` to stop mkosi from building
+first add the following to `mkosi/mkosi.local.conf` to stop mkosi from building
 systemd packages from source:
 
 ```conf
@@ -160,7 +160,7 @@ should be installed.
 If the rpms are installed on the host system that the tests are running on,
 you'll probably want to disable usage of the tools tree so that the tools from
 the host system are used to build the image by adding the following to
-`mkosi.local.conf`:
+`mkosi/mkosi.local.conf`:
 
 ```conf
 [Build]
@@ -171,7 +171,7 @@ On the other hand, if the rpms are available but not installed on the host
 system, you'll want to make sure they're installed into the mkosi tools tree so
 that they're used to build the image by again using either
 `PackageDirectories=` or `SandboxTrees=`, but this time in
-`mkosi.tools.conf/mkosi.local.conf` instead of `mkosi.local.conf`.
+`mkosi/mkosi.tools.conf/mkosi.local.conf` instead of `mkosi/mkosi.local.conf`.
 
 Finally, we'll make use of the standalone mode of running the integration tests
 to avoid having to install any build dependencies.
@@ -185,7 +185,7 @@ $ mkosi sandbox -- meson test -C testsuite --num-processes "$(($(nproc) / 4))"
 ### SELinux AVCs
 
 To have `TEST-06-SELINUX` check for SELinux denials, write the following to
-mkosi.local.conf:
+`mkosi/mkosi.local.conf`:
 
 ```conf
 [Runtime]
index c7d30f18c1341d16d15865066c92f2e5d344384b..fce9decd82d9cc4d454f19f1bc049234d6e7871e 100755 (executable)
@@ -126,7 +126,7 @@ def update_distro(args, distro: str, config: dict):
     print(f"+ {shlex.join(cmd)}")
     changes = subprocess.check_output(cmd, text=True).strip()
 
-    conf_dir = Path('mkosi.conf.d')
+    conf_dir = Path('mkosi/mkosi.conf.d')
     files = conf_dir.glob('**/pkgenv.conf')
     for file in files:
         s = file.read_text()