summaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: Package a erofs usr partition with signed verityDaan De Meyer2023-05-131-8/+10
| | | | | | | | | | | | | | Let's start moving towards a more involved partitioning setup to test our stuff more when using mkosi. The root partition is generated on boot with systemd-repart. CentOS supports neither erofs nor btrfs so we use squashfs and xfs instead. We also enable SecureBoot= locally for additional coverage. This and the use of verity means users need to run `mkosi genkey` once to generate the keys necessary to do secure boot and verity.
* mkosi: Update to latestDaan De Meyer2023-05-121-1/+1
|
* mkosi: Run in debug modeDaan De Meyer2023-05-111-6/+9
| | | | | | | Let's make sure we log more of what mkosi's doing so we can debug issues better. Note this also makes mkosi set SYSTEMD_LOG_LEVEL=debug when running programs so we'll get all the systemd debug logging as well.
* mkosi: Don't run slow tests by defaultDaan De Meyer2023-05-111-0/+1
| | | | | Instead, allow enabling it via an environment variable and do so in CI.
* build(deps): bump actions/checkout from 3.3.0 to 3.5.2dependabot[bot]2023-05-1111-11/+11
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.5.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/ac593985615ec2ede58e132d2e21d2b1cbd6127c...8e5e7e5ab8b370d6c329ec480221332ada57f0ab) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump meson from 1.0.1 to 1.1.0 in /.github/workflowsdependabot[bot]2023-05-111-3/+3
| | | | | | | | | | | | | | Bumps [meson](https://github.com/mesonbuild/meson) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/mesonbuild/meson/releases) - [Commits](https://github.com/mesonbuild/meson/compare/1.0.1...1.1.0) --- updated-dependencies: - dependency-name: meson dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2dependabot[bot]2023-05-112-2/+2
| | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3.1.1...0b7f8abb1508181956e8e162db84b466c27e18ce) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump github/super-linter from 4.10.1 to 5.0.0dependabot[bot]2023-05-111-1/+1
| | | | | | | | | | | | | | | Bumps [github/super-linter](https://github.com/github/super-linter) from 4.10.1 to 5.0.0. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/454ba4482ce2cd0c505bc592e83c06e1e37ade61...45fc0d88288beee4701c62761281edfee85655d7) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump actions/github-script from 6.4.0 to 6.4.1dependabot[bot]2023-05-112-5/+5
| | | | | | | | | | | | | | Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/98814c53be79b1d30f795b907e553d8679345975...d7906e4ad0b1822421a7e6a35d5ca353c962f410) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* mkosi,ci: do not install perlZbigniew Jędrzejewski-Szmek2023-05-092-2/+0
|
* mkosi: Switch to use mkosi presets with prebuilt initrdsDaan De Meyer2023-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of building the initrds for the mkosi images with dracut, let's switch to using mkosi presets to build the initrd with mkosi as well. This commit splits up our single image build into three separate mkosi presets: 1. The "base" preset. This image contains systemd and all its runtime dependencies. The sole purpose of this image is to serve as a base image for the initrd and the final image. It's also responsible for building systemd from source with the build script. The results are installed into the base image. Note that we install the systemd and udev packages into this image as well to prevent package managers from overriding the systemd we built from source with the distro packaged systemd if it's pulled in as a dependency by another package from the initrd or final profiles. 2. The "initrd" preset. This image provides the initrd. It's trivial and does nothing more than packaging the base image up as a zstd compressed initramfs and adds /init and /etc/initrd-release symlinks to the image. 3. The "final" preset. This image builds on top of the base image and adds a kernel and extra packages that are useful for testing and debugging. We also split out the optional kernel build into a separate set of config files that are only included if a kernel to build is actually provided. Note that this commit doesn't really change anything about how mkosi is used. The commands remain the same, except that mkosi will now build all the presets in order. "mkosi summary" will show the summary of all the presets. "mkosi qemu, boot, shell" will always boot the final preset. With "-f", all presets will be built and the final one is booted. "-i" makes a cache of each preset. The only thing to keep in mind is that specifying config via the mkosi CLI will apply to each of the presets. e.g. any extra packages added with "-p" will be installed in both the initrd and the final image. To apply local configuration to a single preset, create a file 00-local.conf in mkosi.presets/<profile>/mkosi.conf.d and put all the preset specific configuration in there.
* mkosi: Update fedora to release 38Daan De Meyer2023-04-251-1/+1
|
* mkosi: Update to latestDaan De Meyer2023-04-241-1/+1
| | | | | This pulls in a fix for Debian rpmdb locations, which results in a substantial speedup for centos/fedora builds.
* mkosi: Update to latestDaan De Meyer2023-04-241-4/+4
| | | | | | Let's use the new support for matching against any distribution in a list of distributions to start sharing most things between the ubuntu/debian configs and centos/fedora configs.
* mkosi: Update to latestDaan De Meyer2023-04-191-1/+1
|
* mkosi: Update to latestDaan De Meyer2023-04-151-1/+1
| | | | | | mkosi now installs a "ignore *" default preset on Debian. We also switch Debian to dbus-broker now that preset doesn't disable it anymore.
* mkosi: Update to latestDaan De Meyer2023-04-131-1/+4
| | | | | The Bootable= option was removed and mkosi installs less packages by default now, so let's adapt our configs to those changes.
* ci: drop checkout from release workflowJan Macku2023-04-111-2/+0
| | | | It's not required as per comment - https://github.com/systemd/systemd/pull/27110#issuecomment-1499653913
* ci: don't run release wf on `systemd-security`Jan Macku2023-04-111-2/+4
|
* ci: add permissions to make a releaseДамјан Георгиевски2023-04-101-1/+7
| | | | | | | | | | | follow-up to https://github.com/systemd/systemd/pull/27071 in order to create Github Releases, the job needs permissions to write contents also: - pinned the `softprops/action-gh-release` action to a specific commit - made it only active on the `systemd` organization repos (so not on forks)
* mkosi: Update to latestDaan De Meyer2023-04-071-1/+1
| | | | | This contains the recently merged fixes to config parsing ordering and overrides.
* mkosi: Update to latestDaan De Meyer2023-04-071-1/+1
| | | | | | This also migrates the configuration to the new format that was just merged in mkosi. Specifically, we make use of the new [Match] sections to only include specific config snippets per distro.
* ci: do one build with no tpm/p11kit/fido2Luca Boccassi2023-04-041-1/+1
| | | | | | We have some missing coverage in the CI, all builds enable these features, but there are often changes and they cover a lot of code. Do one build without them to ensure we don't break builds.
* build(deps): bump github/codeql-action from 2.2.5 to 2.2.9dependabot[bot]2023-04-012-4/+4
| | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.5 to 2.2.9. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/32dc499307d133bb5085bae78498c0ac2cf762d5...04df1262e6247151b5ac09cd2c303ac36ad3f62b) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump ossf/scorecard-action from 2.1.2 to 2.1.3dependabot[bot]2023-04-011-1/+1
| | | | | | | | | | | | | | | Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.1.3. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/e38b1902ae4f44df626f11ba0734b14fb91f8f86...80e868c13c90f172d68d1f4501dee99e2479f7af) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump actions/labeler from 4.0.2 to 4.0.3dependabot[bot]2023-04-011-1/+1
| | | | | | | | | | | | | | Bumps [actions/labeler](https://github.com/actions/labeler) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/5c7539237e04b714afd8ad9b4aed733815b9fab4...ba790c862c380240c6d5e7427be5ace9a05c754b) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump github/super-linter from 4.9.7 to 4.10.1dependabot[bot]2023-04-011-1/+1
| | | | | | | | | | | | | | | Bumps [github/super-linter](https://github.com/github/super-linter) from 4.9.7 to 4.10.1. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/bb2d833b08b6c288608686672b93a8a4589cdc49...454ba4482ce2cd0c505bc592e83c06e1e37ade61) --- 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>
* add a github workflow action to make a release from tagsДамјан Георгиевски2023-04-011-0/+18
| | | | | | | | | | | | | make a github release for every tag that starts with `v*`, and a pre-release if the tag contains "-rc". on the 'systemd/systemd' repo, the "Release" will be draft, so that the release manager can fill up the notes manually. on 'systemd/systemd-stable' the release will be created immediately. info about the action used: https://github.com/softprops/action-gh-release
* mkosi: Update to latestDaan De Meyer2023-03-291-3/+3
| | | | | | | | | | | - Drop Netdev= as it was removed in mkosi - Always install python-psutil in the final image (required for networkd tests) - Always Install python-pytest in the final image (required for ukify tests) - Use the narrow glob for all centos python packages - Drop the networkd mkosi config files (the default image can be used instead) - Use ".conf" as the mkosi config file suffix everywhere - Copy src/ to /root/src in the final image and set gdb substitute path in .gdbinit to make gdb work properly
* mkosi: Update to latestDaan De Meyer2023-03-291-1/+1
| | | | | | | | | | - ACLs are not set on generated directories anymore by default, so we enable them explictly now so that when running unprivileged mkosi, the user running mkosi can remove all generated files and directories. - We don't explicitly set QemuHeadless= anymore as the option was removed and made the default. - We set the loglevel= kernel cmdline argument explicitly now as mkosi doesn't set it by default anymore.
* labeler: add journal label also for sd-journal stuffDavid Tardon2023-03-221-0/+1
|
* ci: limit permissions for `differential-shellcheck`Jan Macku2023-03-221-1/+0
|
* ci: trigger differential-shellcheck workflow on pushJan Macku2023-03-221-1/+4
| | | | | | Also update `differential-shellcheck` to latest version - https://github.com/redhat-plumbers-in-action/differential-shellcheck/releases Fixes: https://github.com/redhat-plumbers-in-action/differential-shellcheck/issues/215
* mkosi: Default to debug log level for udev as wellDaan De Meyer2023-03-211-0/+2
| | | | | Unlike CI, the debug output just goes to the journal, so there's no harm in enabling it, even if it's noisy.
* ci: drop clang-13, add clang-16Frantisek Sumsal2023-03-201-3/+3
|
* mkosi: Enable some debugging options by defaultDaan De Meyer2023-03-171-9/+4
|
* mkosi: Use default timeout of 10sDaan De Meyer2023-03-161-0/+1
| | | | | Let's override the default timeout to something more reasonable for mkosi builds.
* github: update default and example in templateYu Watanabe2023-03-152-5/+5
|
* Update github issue template to include systemd-dissectCornelius Hoffmann2023-03-153-0/+5
|
* mkosi: Update to latestDaan De Meyer2023-03-111-1/+1
|
* ci: Adjust for new EFI buildJan Janssen2023-03-102-4/+5
|
* tree-wide: Drop gnu-efiJan Janssen2023-03-101-1/+1
| | | | | | | This drops all mentions of gnu-efi and its manual build machinery. A future commit will bring bootloader builds back. A new bootloader meson option is now used to control whether to build sd-boot and its userspace tooling.
* Merge pull request #26706 from jengelh/masterLuca Boccassi2023-03-071-1/+1
|\ | | | | doc: various orthographic fixes
| * doc: correct wrong use "'s" contractionsJan Engelhardt2023-03-071-1/+1
| |
* | mkosi: Drop debug loggingDaan De Meyer2023-03-071-29/+3
| | | | | | | | | | The spurious "connection timed out" errors from nspawn should be fixed now that we're running the latest version.
* | mkosi: Drop kernel command line masking in CIDaan De Meyer2023-03-071-1/+1
| | | | | | | | | | These services should be disabled by default and not need explicit masking anymore.
* | mkosi: Update to latestDaan De Meyer2023-03-071-1/+1
|/ | | | So that we don't enable services by default anymore on Debian.
* mkosi: Update to latestDaan De Meyer2023-03-061-1/+1
| | | | | Latest version builds nspawn from source which hopefully gets rid of the spurious "Connection timed out" errors we've been seeing in CI.
* build(deps): bump systemd/mkosidependabot[bot]2023-03-011-1/+1
| | | | | | | | | | | | | | Bumps [systemd/mkosi](https://github.com/systemd/mkosi) from 1d131062066fe7b5a83b87319b4464b186adbb1c to d13ff85610c6fb01a2fff0a8187729ebe4a05595. - [Release notes](https://github.com/systemd/mkosi/releases) - [Changelog](https://github.com/systemd/mkosi/blob/main/NEWS.md) - [Commits](https://github.com/systemd/mkosi/compare/1d131062066fe7b5a83b87319b4464b186adbb1c...d13ff85610c6fb01a2fff0a8187729ebe4a05595) --- updated-dependencies: - dependency-name: systemd/mkosi dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump github/codeql-action from 2.1.29 to 2.2.5dependabot[bot]2023-03-012-4/+4
| | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.29 to 2.2.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/ec3cf9c605b848da5f1e41e8452719eb1ccfb9a6...32dc499307d133bb5085bae78498c0ac2cf762d5) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>