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 <adamw...@fedoraproject.org> 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to