Skip to content

Fix CI, add packaging, update docs#147

Merged
ssahani merged 5 commits intosystemd:mainfrom
ssahani:fix/ci-packaging
Mar 25, 2026
Merged

Fix CI, add packaging, update docs#147
ssahani merged 5 commits intosystemd:mainfrom
ssahani:fix/ci-packaging

Conversation

@ssahani
Copy link
Copy Markdown
Contributor

@ssahani ssahani commented Mar 25, 2026

Summary

  • Fix CI packaging jobs: use matrix.artifact for artifact names (avoids invalid : characters), use rpm --nodeps for container builds, rpmbuild --nodeps for Rocky Linux
  • Update Makefile: fix targets, add test/uninstall/rpm
  • Expand README with more examples, security, signals, state docs

Test plan

  • CI jobs pass (Ubuntu, Fedora, Rocky, Debian, Arch)
  • Build compiles cleanly
  • All tests pass (protocol, string-tables)

Fixes #144

ssahani and others added 5 commits March 25, 2026 08:38
- RPM: use cp + tar instead of --transform (fixes tarball structure),
  use $HOME instead of ~ for reliable path resolution in containers
- DEB: copy .deb files into workspace before upload (upload-artifact
  does not support relative .. paths)
Fix RFC 3339 vs RFC 3164 mixup for message format
CI fixes:
- Fix meson version extraction regex (handle space before colon)
- Fix artifact upload names (colons not allowed, use matrix.artifact)
- Use tar+cp instead of git archive for RPM source tarballs
- Use $HOME instead of ~ for paths in containers
- Collect DEB artifacts into workspace before upload
- Rocky Linux: install meson via pip to /usr prefix, use --nodeps
  for rpmbuild since meson/ninja aren't RPM packages

RPM spec fixes:
- Call meson setup directly instead of %meson macro (avoids
  conflicting --prefix arguments)
- Use ninja directly instead of %ninja_* macros (unavailable on EL9)
- Disable debug package (%global debug_package %{nil})
- Use rpm -ivh --nodeps for install test (user dep not available)
- Add DTLS, TCP filtering, Loggly, multicast, namespace examples
- Add Security section with hardening details from service file
- Add Signals section (SIGUSR1/SIGUSR2)
- Add State Persistence section
- Add Arch Linux build deps
- Add Packaging section (RPM/DEB/PKGBUILD)
- Use table for documentation links
@ssahani ssahani merged commit 7927751 into systemd:main Mar 25, 2026
8 checks passed
@ssahani ssahani deleted the fix/ci-packaging branch March 25, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Mixup: RFC3164 and RFC3339

1 participant