Re: /bin/sh and lua; was: Re: common location of spec files in upstream sources

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

 




On Fri, Oct 27, 2017, at 09:58 PM, Adam Williamson wrote:
> On Fri, 2017-10-27 at 20:49 -0500, Chris Adams wrote:
> > Once upon a time, Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx> said:
> > > FWIW, ISTR being told at some point that it's a good idea to write
> > > scriptlets in lua because RPM should *always* be able to run lua
> > > scriptlets, whereas at least in theory a scriptlet written in shell
> > > script could be hit before /bin/sh is installed and thus fail to
> > > run...
> > 
> > I don't think that's true - I think an RPM with a /bin/sh scriptlet will
> > get a dependency on /bin/sh, so it shouldn't be installed before
> > /bin/sh.
> 
> Doesn't help for %pretrans, even if true.

%pretrans was covered in the thread; direct link:
http://lists.rpm.org/pipermail/rpm-ecosystem/2016-August/000396.html

So we could patch RPM to not execute them on initial install, but eh,
I don't care enough - rpm-ostree already ignores them, doesn't hurt
anything if they stay in lua.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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