Skip to content

Add optional systemd support for static builds#573

Merged
jnovy merged 1 commit intocontainers:mainfrom
jnovy:348
Aug 25, 2025
Merged

Add optional systemd support for static builds#573
jnovy merged 1 commit intocontainers:mainfrom
jnovy:348

Conversation

@jnovy
Copy link
Collaborator

@jnovy jnovy commented Aug 11, 2025

Implement conditional systemd linking to fix static build failures. Static builds can now disable systemd with DISABLE_SYSTEMD=1. Nix derivation updated with enableSystemd parameter for flexibility. Provides backward compatibility while solving static linking issues.

Fixes: #348

Implement conditional systemd linking to fix static build failures.
Static builds can now disable systemd with DISABLE_SYSTEMD=1.
Nix derivation updated with enableSystemd parameter for flexibility.
Provides backward compatibility while solving static linking issues.

Fixes: containers#348

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
@jnovy jnovy added the jira label Aug 11, 2025
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jnovy jnovy merged commit 11bcc31 into containers:main Aug 25, 2025
30 of 32 checks passed
@jnovy jnovy deleted the 348 branch September 1, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podman cannot run [conmon:e] Include journald in compilation path to log to systemd journal

2 participants