Re: Fedora 31 Self-Contained Change proposal: Limit Scriptlet Usage of core packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "VO" == Vít Ondruch <vondruch@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux