1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-21 18:03:41 +03:00

243 Commits

Author SHA1 Message Date
Frantisek Sumsal
aca62e1b7b mkosi: work around a file conflict between systemd and systemd-boot
(cherry picked from commit a32831ae1dd9f5e1f34537c27f4c67b3125acb0b)
(cherry picked from commit 864c10add75f3fab3b8bdfa8068a35fc480f5514)
2022-12-16 16:06:15 +00:00
Frantisek Sumsal
ae0537f18f ci: reenable validation of GH Actions files
(cherry picked from commit 9e03f48d21871bbca5efbfd26b67aca12265a618)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
6e92f64ca4 ci: temporarily disable validation of GH Action files
since the current version of super-linter doesn't recognize
ubuntu-22.04 as a valid runner specification. This should
be fixed once https://github.com/github/super-linter/pull/2897
is merged, which includes
09a60b0f57

(cherry picked from commit 6c0259e50203a9a8851cd4bc6f8e8f8f21361049)
2022-11-08 00:09:18 +01:00
dependabot[bot]
b57ef0c672 build(deps): bump meson from 0.63.2 to 0.63.3 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.63.2 to 0.63.3.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.63.2...0.63.3)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 65444c9cba6ec820648232ab08e2faed88f633c8)
2022-11-08 00:09:18 +01:00
dependabot[bot]
8c80564405 build(deps): bump ninja from 1.10.2.3 to 1.10.2.4 in /.github/workflows
Bumps [ninja](https://github.com/ninja-build/ninja) from 1.10.2.3 to 1.10.2.4.
- [Release notes](https://github.com/ninja-build/ninja/releases)
- [Commits](https://github.com/ninja-build/ninja/commits)

---
updated-dependencies:
- dependency-name: ninja
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 8ef866ace45847694e0085ab7005c3cc14fefd12)
2022-11-08 00:09:18 +01:00
dependabot[bot]
70e90da84b build(deps): bump meson from 0.63.1 to 0.63.2 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.63.1 to 0.63.2.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.63.1...0.63.2)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 5d4ba4e534bfd0b68fb76d7107226691ba68e061)
2022-11-08 00:09:18 +01:00
dependabot[bot]
489c00dee5 build(deps): bump meson from 0.63.0 to 0.63.1 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.63.0 to 0.63.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.63.0...0.63.1)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit c19053e657a27a1922eee5f76169a04914ae3ff3)
2022-11-08 00:09:18 +01:00
dependabot[bot]
08e85ad43d build(deps): bump meson from 0.62.2 to 0.63.0 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.62.2 to 0.63.0.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.62.2...0.63.0)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit bc4b9a7117b617341231be703b2ea3d0639ee9bf)
2022-11-08 00:09:18 +01:00
dependabot[bot]
b0619c9c55 build(deps): bump meson from 0.62.0 to 0.62.2 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.62.0 to 0.62.2.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.62.0...0.62.2)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 71562f517490337c16f85f7104a49f47c6f74a1f)
2022-11-08 00:09:18 +01:00
dependabot[bot]
d982169592 build(deps): bump systemd/mkosi
Bumps [systemd/mkosi](https://github.com/systemd/mkosi) from 792cbc60eb2dc4a58d66bb3c212bf92f8d50f6ea to 14. This release includes the previously tagged commit.
- [Release notes](https://github.com/systemd/mkosi/releases)
- [Changelog](https://github.com/systemd/mkosi/blob/main/NEWS.md)
- [Commits](792cbc60eb...c9772ec920)

---
updated-dependencies:
- dependency-name: systemd/mkosi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a61119e299a285971f374fc04ca835c5f8677017)
2022-11-08 00:09:18 +01:00
Daan De Meyer
3abf9f08f1 mkosi: Switch to Fedora 37
Official release date is close so let's switch mkosi CI to it already.

(cherry picked from commit 0aa1d406490f607262f699bf185ec3c5fc4447a0)
2022-11-08 00:09:18 +01:00
Luca Boccassi
18f9fbab08 mkosi: update to latest commit
Require dto fix Debian testing/unstable builds, as the initrd is
versioned

(cherry picked from commit dcf1bf3b6dd934d3af629a1f9f24e083fce85255)
2022-11-08 00:09:18 +01:00
Luca Boccassi
420e782904 mkosi: update to latest commit
Required to fix Debian testing/unstable builds, as resolved is
now in its own package

(cherry picked from commit 31ed4b91475b5c110dc3e6a50046745be79edbfe)
2022-11-08 00:09:18 +01:00
Luca Boccassi
9a94aa1d88 mkosi: disable isc-dhcp-server again
It's still failing in Ubuntu:

● isc-dhcp-server.service  loaded failed failed ISC DHCP IPv4 server
● isc-dhcp-server6.service loaded failed failed ISC DHCP IPv6 server

Just disable them via the kernel command line masking.

(cherry picked from commit 255963ec3a092a3e8b8b0896b45b1ad3ec60f988)
2022-11-08 00:09:18 +01:00
Daan De Meyer
d1785c462f mkosi: Ensure we build all features/components in mkosi
Explicitly enable all features/components in the mkosi build to
ensure they all get built and we get an error if they can't be built.

We also rework the packages sections of all mkosi configs to reduce
duplication and cover all the dependencies necessary to build/use all
systemd features.

Note that for the final image, since systemd is installed by default
in base images, we rely on that to install the base library dependencies
and we only list extra optional dependencies and tools that aren't already
installed by default into the base image.

We also drop the centos stream 8 mkosi build as dependencies on that
distro are too out-of-date to be able to build all systemd features.
Since centos stream 9 has been out for a while, let's focus on that
and leave it to downstream to keep systemd building on centos stream 8.

Finally, there's a few additions to the mkosi scripts to make sure
services don't start by default on boot.

(cherry picked from commit 37d35150cbb5db063aaa8e5878ec03258414b0e5)
2022-11-08 00:09:18 +01:00
Jan Janssen
6712396da3 meson: Downgrade efi-ld warning
The warning isn't that serious and mostly there to inform the user that
lld/mold cannot build efi binaries. It is also better to build test with
fatal meson warnings.

(cherry picked from commit 4fb6506debb851ac062b3b46b46aaa3ac1a17321)
2022-11-08 00:09:18 +01:00
Jan Janssen
66309ee674 ci: Add mold to build tests
(cherry picked from commit ed862b95b2fb9fd14b26c43c53589d45e0f28246)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
86c25ca937 ci: build with clang-15; drop clang-12
(cherry picked from commit d7c1024b6b13c62a413e2beab2510570a81b906d)
2022-11-08 00:09:18 +01:00
Daan De Meyer
28457b030e mkosi: Drop workarounds
None of these should be necessary anymore with recent versions of
mkosi.

(cherry picked from commit 0e961391c17d4e487b323b6f3e0d3a1b183ba64a)
2022-11-08 00:09:18 +01:00
Daan De Meyer
abecb21561 mkosi: Update to latest commit
Fixes #1128

(cherry picked from commit 2dddae253b3a7781112db428efc2e1105019864b)
2022-11-08 00:09:18 +01:00
Daan De Meyer
d9eaf39930 mkosi: Update to latest commit
Introduces a more reliable mirror for Arch which should reduce the
number of mkosi Arch CI failures due to unreliable mirror selection.

(cherry picked from commit 599884bd9a3cfb376572e44935174939e0dab776)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
0e518f3639 ci: set a timeout for each mkosi stage
Work around #24202 so we don't wait ~6 hours for a stuck QEMU job.

(cherry picked from commit 578355684d8d4041d8096445922de7f7d1a20571)
2022-11-08 00:09:18 +01:00
Daan De Meyer
5e79cf977c mkosi: Update to latest
Fixed centos stream 8 builds that were hitting a nonexisting mirror
url

(cherry picked from commit a268e7f4021072e120a03b42660fad21e465c44e)
2022-11-08 00:09:18 +01:00
Daan De Meyer
edef8edf0b mkosi: Update to latest commit
With this update, Arch Linux keyring updates will be automatically
pulled in instead of having to update to a new mkosi commit every
time the keyring gets outdated.

(cherry picked from commit 859614439a77da2a69118235a0e78c94c8449aaa)
2022-11-08 00:09:18 +01:00
Daan De Meyer
a0402d3ab6 mkosi: Update to latest commit
Fixes an issue with Arch builds failing by updating the archlinux
keyring package.

(cherry picked from commit a41940ed0efc786f60404c5940a664adf047eaab)
2022-11-08 00:09:18 +01:00
Daan De Meyer
081168fa19 mkosi: Build against Fedora rawhide as well
(cherry picked from commit 2d625795700f391b5e40b24388d66a93ba6e49c3)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
f12a6945c6 ci: limit which env variables we pass through sudo
to work around #23987.

(cherry picked from commit d46e7c7cfd6c286a38298c067f16ac784c2a26f0)
2022-11-08 00:09:18 +01:00
Luca Boccassi
7e24ac6d77 mkosi: update to latest main
Fix build failure on SUSE Tumbleweed due to config changes

(cherry picked from commit 3a883d36eb383581f3c1b06cd2629401cfaa446d)
2022-11-08 00:09:18 +01:00
Daan De Meyer
a46ba01e79 mkosi: Update to latest release
This fixes the mkosi github action to unbreak the mkosi CI

(cherry picked from commit 13f4f0fd81eb37b73c0c3c0b5fb70adf8fb8e3ba)
2022-11-08 00:09:18 +01:00
Daan De Meyer
7ef1d71895 mkosi: Pull in fix that solves action mirror issue
(cherry picked from commit c024a6ac96f6e08eca57bd0253df6ffad603981a)
2022-11-08 00:09:18 +01:00
Daan De Meyer
d3d90ae66b mkosi: Update CI to mkosi 13
(cherry picked from commit f304d038845a2f5e5c02512a099dfeb4a70ee883)
2022-11-08 00:09:18 +01:00
Evgeny Vereshchagin
9bf797be2c ci: build systemd with clang with -Dmode=release --optimization=2
This is what's most likely used to build systemd with clang in
practice so let's test it as well.

Preparation for reverting 0bd292567a
(which replaced bogus buffer overflow found with _FORTIFY_SOURCE=3
with actual segfaults).

(cherry picked from commit 36cb69fc43cbce6d883b3a0da4f793c81dbf4b2e)
2022-11-08 00:09:18 +01:00
Evgeny Vereshchagin
9e88b3a5e1 ci: bump gcc in the "build test" workflow
gcc-12 has been released

(cherry picked from commit af7211541272823b1ef4fef8c36d10dc1027733e)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
dcbc64db61 ci: prefer the distro llvm version if available
(cherry picked from commit 50b2b5200409cf6306640e1275d9639183bbecfd)
2022-11-08 00:09:18 +01:00
Frantisek Sumsal
ccd81889d4 ci: bump GH Actions to Ubuntu Jammy where applicable
(cherry picked from commit aa1bf7e61dd899d45a98911c0b728e9115759ae2)
2022-11-08 00:09:18 +01:00
наб
b32217e8d0
Don't not lint kernel-install 2022-05-14 15:21:34 +02:00
Yu Watanabe
e2c99d3b5c CI: use Fedora 36 2022-05-13 02:46:13 +09:00
dependabot[bot]
9c96c89bb3 build(deps): bump github/super-linter from 4.9.1 to 4.9.2
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](3792fe5373...ae4e373c56)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 05:51:41 +03:00
dependabot[bot]
5f994fffb9 build(deps): bump actions/checkout from 3.0.0 to 3.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a12a3943b4...2541b1294d)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 05:50:11 +03:00
Evgeny Vereshchagin
2d14ec9b8a ci: actually turn on fatal-meson-warnings in the "build" workflow
It's a follow-up to https://github.com/systemd/systemd/pull/23211
2022-04-29 13:58:27 +09:00
Evgeny Vereshchagin
67b9732f1b ci: bring fatal-meson-warnings back
It's a follow-up to https://github.com/systemd/systemd/pull/23204

v2: replaced xargs with exec as suggested by Jan Janssen
2022-04-28 21:21:59 +03:00
Luca Boccassi
0a5e638cc7 meson: add install_tag to sd-boot, libsystemd and libudev
Allows to 'meson install --tags systemd-boot --no-rebuild' to install only the EFI
binaries, skipping the rest, for a very quick build:

$ ninja src/boot/efi/linuxx64.efi.stub
[21/21] Generating src/boot/efi/linuxx64.efi.stub with a custom command
$ ninja src/boot/efi/systemd-bootx64.efi
[10/10] Generating src/boot/efi/systemd-bootx64.efi with a custom command
$ DESTDIR=/tmp/foo meson install --tags systemd-boot --no-rebuild
Installing src/boot/efi/systemd-bootx64.efi to /tmp/foo/usr/lib/systemd/boot/efi

Requires Meson 0.60 to be used, prints a warning for unknown keyword
in earlier versions, but there's no failure

https://mesonbuild.com/Installing.html#installation-tags
2022-04-27 22:24:53 +01:00
Evgeny Vereshchagin
c84fc00b37 ci: unpin CFLite
The idea was to catch CFLite regressions but since the action itself
pulls the latest docker images it can't be pinned properly and issues
like https://github.com/google/clusterfuzzlite/issues/91 are going to
pop up anyway. Let's unpin it by analogy with CIFuzz and hope it doesn't
break very often.
2022-04-26 09:13:57 +00:00
Daan De Meyer
041456246c mkosi: Update to latest commit
We recently added caching for the dependencies we build from source
in mkosi's github action which speeds up builds by +-10 minutes. Let's
update to the latest commit so we benefit from this in systemd's mkosi
CI as well.
2022-04-22 09:09:13 +09:00
Jan Janssen
7fc60c071f ci: Add ia32 EFI multilib test
This makes sure that building ia32 EFI binaries on x86_64 works.
We force gnu-efi support to ensure it's not skipped by accident
and provide the lib32 dir manually, because clang does not support
'--print-multi-os-directory', which is used to auto-detect it.
2022-04-07 18:45:21 +02:00
dependabot[bot]
64c843d12d build(deps): bump meson from 0.61.2 to 0.62.0 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 0.61.2 to 0.62.0.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/0.61.2...0.62.0)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 21:41:37 +00:00
dependabot[bot]
b6ab9d7ade build(deps): bump actions/labeler from 3.1.0 to 4
Bumps [actions/labeler](https://github.com/actions/labeler) from 3.1.0 to 4.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](3d612d72e6...9fd24f1f9d)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 21:41:06 +00:00
dependabot[bot]
a2b107c86c build(deps): bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 21:40:52 +00:00
dependabot[bot]
a1a1e0b79f build(deps): bump github/codeql-action from 1.1.3 to 2.1.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.3 to 2.1.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](75f07e7ab2...28eead2408)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 21:39:20 +00:00
dependabot[bot]
5f82d58bb0 build(deps): bump github/super-linter from 4.8.5 to 4.9.1
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.8.5 to 4.9.1.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](b8641364ca...3792fe5373)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 21:37:14 +00:00