>>>>> "VO" == Vít Ondruch <vondr...@redhat.com> writes:

VO> I just wonder what is the point of:

VO> 
https://github.com/systemd/systemd/blob/b0ca726/src/core/macros.systemd.in#L122

I guess it just saves packagers from having to call systemd-sysusers
properly.  You include the configuration file in the source package and
that macro basically just expands it into the spec.

VO> Why should the file be stored on the FS, when it is expanded during
VO> build time (if I understand the scriptlet correctly).

Well you could just bypass the macro and call systemd-sysusers
yourself with the raw data as part of the command.  I don't see anything
that requires the file to exist in the filesystem at runtime.

Personally I do think the subpackage method has merit, but hiding it
behind macros (if we want that) would probably be complex.  But
debuginfo/debugsource packages are done that way so it should be
possible.

 - J<
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to