summaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-08 11:33:25 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-13 12:07:49 +0100
commit37bd860c22b60d6d389ebf1a27c93a32d4af9bc1 (patch)
treedd6c29ba5cb740c137f60ccc06b01e0138112a28 /.gitmodules
parentmkosi: Remove some leftover shell debugging (diff)
downloadsystemd-37bd860c22b60d6d389ebf1a27c93a32d4af9bc1.tar.xz
systemd-37bd860c22b60d6d389ebf1a27c93a32d4af9bc1.zip
mkosi: Introduce packaging sources as submodules
By always cloning the latest branch commit, we can't bisect properly using mkosi as when bisecting wildly different packaging sources will be used compared to when the commit was merged. By using submodules, we track individual commits which means when bisecting the same packaging sources will be used. We use git submodules as dependabot has support for automatically making PRs to update git submodules. This commit also includes the necessary dependabot configuration to enable this. We make ubuntu/debian use the same submodule instead of adding the debian packaging sources twice by introducing a new $PKG_SUBDIR environment variable and using it instead of $DISTRIBUTION.
Diffstat (limited to '.gitmodules')
-rw-r--r--.gitmodules20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000000..c69576e9bb
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,20 @@
+[submodule "pkg/fedora"]
+ path = pkg/fedora
+ url = https://src.fedoraproject.org/rpms/systemd
+ branch = rawhide
+[submodule "pkg/opensuse"]
+ path = pkg/opensuse
+ url = https://code.opensuse.org/package/systemd
+ branch = master
+[submodule "pkg/debian"]
+ path = pkg/debian
+ url = https://salsa.debian.org/systemd-team/systemd
+ branch = debian/master
+[submodule "pkg/centos"]
+ path = pkg/centos
+ url = https://git.centos.org/rpms/systemd
+ branch = c9s-sig-hyperscale
+[submodule "pkg/arch"]
+ path = pkg/arch
+ url = https://gitlab.archlinux.org/daandemeyer/systemd
+ branch = strip