Skip to content

Two tweaks to make --rpm-fileattr= machinery easier to debug#58

Merged
bluca merged 2 commits into
systemd:mainfrom
keszybz:package-notes-better-visibility
Jul 22, 2026
Merged

Two tweaks to make --rpm-fileattr= machinery easier to debug#58
bluca merged 2 commits into
systemd:mainfrom
keszybz:package-notes-better-visibility

Conversation

@keszybz

@keszybz keszybz commented Jul 22, 2026

Copy link
Copy Markdown
Member

No description provided.

keszybz added 2 commits July 22, 2026 11:57
In actual use under rpm, the program will need to be called for each
attribute type separately, because this is what the rpm fileattr protocol
requires. But for debugging, it's very convenient to generate all deps
at the same time, e.g. with
  echo build/some-binary | dlopen-notes --rpm-fileattr={Recommends,Requires,Suggests}

Allow this, but don't advertise it in help.
Previously we'd just not emit anything for unknown types. Let's
be nice to the user and check that the arg makes sense.
@bluca
bluca merged commit ee6733e into systemd:main Jul 22, 2026
1 check passed
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.

2 participants