Re: upcoming systemd-239 release — call for testing

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

 



On Mon, Jun 18, 2018 at 03:28:17PM -0500, Jason L Tibbitts III wrote:
> >>>>> "ZJ" == Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> writes:
> 
> ZJ> It's either %include or a fairly big copy&paste. The first solution
> ZJ> is awkward, and the second one is ... awkward. But yeah, maybe we
> ZJ> should bite the bullet and do the copy&paste. A bit sad.
> 
> It shouldn't be that bad.  The body of the scriptlet shouldn't be large.
> If it is, then put it in its own, install that, and have the scriptlet
> call it.

That's not an attractive option, because there's so many of them.
Also, the scriptlets are (were, it's a longer story) in lua, executed
inline. Moving that out to a separate file would break that.
See https://github.com/systemd/systemd/blob/master/src/core/triggers.systemd.in.

> I went to look at why the scriptlets are so large, but of course I'm
> looking at the spec tarball and so all I can see is %include %{SOURCE1}.
> Oh, well.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/VIOG5TPLK6V3ITDNJLAPGJJDGPZJBLEZ/




[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