[Rpm-maint] [rpm-software-management/rpm] How to disable %preuntrans & %sysusers creation while building an rpm (Discussion #3174)
Panu Matilainen
notifications at github.com
Tue Jun 25 05:18:11 UTC 2024
This is a headline feature of >= 4.19: https://rpm-software-management.github.io/rpm/manual/users_and_groups.html
The clue is right there:
> /var/tmp/rpm-tmp.JhzjTt: line 2: /usr/lib/rpm/sysusers.sh: No such file or directory
You're not packaging the sysusers.sh script which comes with rpm 4.19, which is what that %__systemd_sysusers points to by default. Yes, commenting out the macro will disable the feature if that's what you want. The user/group provides are generated like any other automatic dependency: https://rpm-software-management.github.io/rpm/manual/dependency_generators.html
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3174#discussioncomment-9867139
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3174/comments/9867139 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240624/7ce5e942/attachment-0001.html>
More information about the Rpm-maint
mailing list