Commit graph

48 commits

Author SHA1 Message Date
Daan De Meyer
ba592dc715 mkosi: Replace submodules with our own thing
Unfortunately, git submodules break in all sorts of ways:

- Various github workflows (dependabot, github pages) try to do a shallow
clone of git submodules which does not work at all when the git repository
is hosted on pagure (https://pagure.io/pagure/issue/5453,
https://github.com/dependabot/dependabot-core/issues/9391).
- If the git forge hosting the git repository uses SHA256, then it breaks our
usage of it as a submodule as SHA256 repositories cannot be used as submodules
in SHA1 repositories (src.opensuse.org moved to SHA256 which broke our usage of
opensuse's systemd spec as a submodule).
- git submodules completely break usage of git worktrees.
- ...

Let's avoid all these issues by just doing our own home grown implementation of
git submodules. We lose the automatic dependabot updates this way but since dependabot
fails to run more often that not with submodules we don't really lose anything.
2024-05-30 19:31:32 +02:00
Luca Boccassi
34977b7512 pkg/opensuse: switch to SHA1 fork
src.opensuse.org switched to SHA256, which means it can no longer be
used as a submodule in a SHA1 repository. Switch to a fork on Pagure
that gets synced across and is still SHA1:

https://code.opensuse.org/package/systemd.git
2024-05-21 18:22:21 +01:00
Daan De Meyer
789ee09bf7 mkosi: Update centos to latest 2024-05-16 13:33:21 +02:00
Zbigniew Jędrzejewski-Szmek
f222ef107d mkosi: Restore job for F40
This partially reverts ecf8468dd4.
dist-git was made compatible again with F40.
2024-05-14 21:23:46 +02:00
Daan De Meyer
ecf8468dd4 mkosi: Update fedora to latest
We drop the Fedora 40 job as the latest rawhide spec introduced
dependencies that are not available in Fedora 40.
2024-05-14 20:44:39 +02:00
dependabot[bot]
2b214821a2 build(deps): bump pkg/arch from b13e94a to b578e90
Bumps pkg/arch from `b13e94a` to `b578e90`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 12:54:52 +02:00
dependabot[bot]
7044f9952c build(deps): bump pkg/debian from 7cc898c to 824c52f
Bumps pkg/debian from `7cc898c` to `824c52f`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 12:54:27 +02:00
Daan De Meyer
5b29919b91 mkosi: Update centos submodule to latest 2024-05-10 11:33:15 +02:00
Daan De Meyer
388e70db07 mkosi: Update centos submodule to latest 2024-05-07 17:15:10 +02:00
dependabot[bot]
5fc0b2f9da build(deps): bump pkg/debian from 50b20e2 to 7cc898c
Bumps pkg/debian from `50b20e2` to `7cc898c`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 12:43:35 +02:00
dependabot[bot]
e4cea965d3 build(deps): bump pkg/debian from f550017 to 50b20e2
Bumps pkg/debian from `f550017` to `50b20e2`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 11:54:34 +02:00
dependabot[bot]
85e23ef431 build(deps): bump pkg/debian from 9a5adf2 to f550017
Bumps pkg/debian from `9a5adf2` to `f550017`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 12:32:04 +02:00
dependabot[bot]
42a5f47fbe build(deps): bump pkg/arch from dd7aff4 to b13e94a
Bumps pkg/arch from `dd7aff4` to `b13e94a`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 14:38:22 +02:00
dependabot[bot]
cafc0751b5 build(deps): bump pkg/arch from 6a2bc57 to dd7aff4
Bumps pkg/arch from `6a2bc57` to `dd7aff4`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 12:09:36 +02:00
dependabot[bot]
9c53f6a7ae build(deps): bump pkg/debian from 640ff73 to 9a5adf2
Bumps pkg/debian from `640ff73` to `9a5adf2`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30 12:09:12 +02:00
dependabot[bot]
89aec596c9 build(deps): bump pkg/debian from 4b1f868 to 640ff73
Bumps pkg/debian from `4b1f868` to `640ff73`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:05:36 +02:00
Daan De Meyer
b2173f50dc mkosi: Ignore version from versioned dependencies in .SRCINFO
Dependencies in .SRCINFO can be versioned. Let's make sure we ignore
any specified versions when grepping it for dependencies. Also update
the arch submodule to the latest to make sure the change works.
2024-04-28 16:20:58 +02:00
dependabot[bot]
34b795d4e9 build(deps): bump pkg/debian from 733ac7c to 4b1f868
Bumps pkg/debian from `733ac7c` to `4b1f868`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 17:07:26 +02:00
dependabot[bot]
7b36569461 build(deps): bump pkg/debian from 30c77a7 to 733ac7c
Bumps pkg/debian from `30c77a7` to `733ac7c`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 12:05:45 +02:00
dependabot[bot]
3ee5e3d046 build(deps): bump pkg/arch from ccc32ea to 124b1da
Bumps pkg/arch from `ccc32ea` to `124b1da`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 12:02:16 +02:00
dependabot[bot]
224e0a8a90 build(deps): bump pkg/debian from e477254 to 30c77a7
Bumps pkg/debian from `e477254` to `30c77a7`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 12:25:23 +02:00
dependabot[bot]
99e33e7b31 build(deps): bump pkg/fedora from 3f8c38e to a379236
Bumps pkg/fedora from `3f8c38e` to `a379236`.

---
updated-dependencies:
- dependency-name: pkg/fedora
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 12:43:29 +02:00
dependabot[bot]
1fdafca718 build(deps): bump pkg/fedora from 2822a03 to 3f8c38e
Bumps pkg/fedora from `2822a03` to `3f8c38e`.

---
updated-dependencies:
- dependency-name: pkg/fedora
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 12:13:12 +02:00
Daan De Meyer
8bc9232636 Update submodules 2024-04-10 14:36:59 +02:00
Luca Boccassi
aef47ec274
Merge pull request #32154 from DaanDeMeyer/mkosi
mkosi: Make scripts more generic
2024-04-09 13:30:59 +01:00
dependabot[bot]
b67f7e370a build(deps): bump pkg/fedora from 2822a03 to 3f8c38e
Bumps pkg/fedora from `2822a03` to `3f8c38e`.

---
updated-dependencies:
- dependency-name: pkg/fedora
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 12:23:52 +02:00
Daan De Meyer
d6f206b944 mkosi: Make scripts more generic
We might want to run the build scripts outside of mkosi as well at
some point, e.g. to build an rpm after booting the image, so let's
make them more generic by using /usr/lib/os-release to figure out
which pkg specs we should use instead of $PKG_SUBDIR. To make ubuntu
use the debian pkg spec, we add a symlink pkg/ubuntu which points to
debian/ in the same directory.
2024-04-09 11:57:05 +02:00
Daan De Meyer
9c611095ca mkosi: Update pkg/arch to latest and install systemd-tests
The arch PKGBUILD now packages the tests when building for upstream
so let's make sure we install the new package.
2024-04-09 11:47:37 +02:00
Daan De Meyer
3b8b6910d1 mkosi: Fix debian submodule commit
This was accidentally changed in https://github.com/systemd/systemd/pull/32155
2024-04-08 17:26:16 +02:00
Usman Akinyemi
f9d273e67a I made more unit test to use the test macro 2024-04-08 16:58:52 +02:00
Daan De Meyer
44b6e43e8d mkosi: Update submodules to latest 2024-04-08 11:36:59 +02:00
Luca Boccassi
8826953547 Update pkg/debian/ to latest
lz4-tool, nsresourced, kmod changes
2024-04-08 11:34:30 +02:00
dependabot[bot]
34b130faaa build(deps): bump pkg/debian from 44fe1d4 to e780b50
Bumps pkg/debian from `44fe1d4` to `e780b50`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 11:37:01 +02:00
Daan De Meyer
5afea28add mkosi: Update centos to latest
Due to dependabot and pagure not playing nice with each other, we're
going to have to update this one manually for a while.

See https://github.com/systemd/systemd/issues/31773
2024-03-31 23:09:11 +02:00
Daan De Meyer
afc6ecd9cb Update pkg/fedora to latest 2024-03-27 12:58:17 +01:00
dependabot[bot]
a0ae04b611 build(deps): bump pkg/debian from 1932e19 to 44fe1d4
Bumps pkg/debian from `1932e19` to `44fe1d4`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 10:48:55 +01:00
dependabot[bot]
0d9e4b7aa4 build(deps): bump pkg/opensuse from af49127 to acdb1cd
Bumps pkg/opensuse from `af49127` to `acdb1cd`.

---
updated-dependencies:
- dependency-name: pkg/opensuse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 10:41:23 +01:00
dependabot[bot]
7cf4434c50 build(deps): bump pkg/arch from 4d1ecb0 to 3b86b91
Bumps pkg/arch from `4d1ecb0` to `3b86b91`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 11:36:54 +01:00
dependabot[bot]
80320fa6bb build(deps): bump pkg/fedora from 2e32a33 to f1d3866
Bumps pkg/fedora from `2e32a33` to `f1d3866`.

---
updated-dependencies:
- dependency-name: pkg/fedora
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 11:36:12 +01:00
dependabot[bot]
9504b4cd8c build(deps): bump pkg/debian from 3b47281 to 1932e19
Bumps pkg/debian from `3b47281` to `1932e19`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 11:34:24 +01:00
Daan De Meyer
d0327823d8 mkosi: Switch to Arch Linux packaging sources main branch
https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/merge_requests/8
was merged so let's switch branches to the main branch.
2024-03-22 16:51:37 +01:00
dependabot[bot]
11a9c575ed build(deps): bump pkg/fedora from 2822a03 to 2e32a33
Bumps pkg/fedora from `2822a03` to `2e32a33`.

---
updated-dependencies:
- dependency-name: pkg/fedora
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:48:13 +01:00
dependabot[bot]
55c03cb539 build(deps): bump pkg/debian from 86cd356 to 3b47281
Bumps pkg/debian from `86cd356` to `3b47281`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:47:20 +01:00
Daan De Meyer
30f08c303a mkosi: Update debian to latest
Fixes mkosi builds
2024-03-19 22:46:03 +00:00
dependabot[bot]
8f76cb55b8 build(deps): bump pkg/arch from 733045c to b33762d
Bumps pkg/arch from `733045c` to `b33762d`.

---
updated-dependencies:
- dependency-name: pkg/arch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 22:17:07 +01:00
Daan De Meyer
99cc65a0c9 Switch opensuse packaging specs source url to src.opensuse.org
opensuse's OBS has two git mirrors, code.opensuse.org uses pagure,
src.opensuse.org uses gitea. Let's try src.opensuse.org as pagure
doesn't seem to work properly when more advanced git functionality
is used.
2024-03-17 16:45:33 +01:00
dependabot[bot]
748b7be948 build(deps): bump pkg/debian from 49132a8 to 5451923
Bumps pkg/debian from `49132a8` to `5451923`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 20:18:08 +01:00
Daan De Meyer
37bd860c22 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.
2024-03-13 12:07:49 +01:00