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, 2017-10-27 at 16:36 -0400, Colin Walters wrote:
> 
> On Fri, Oct 27, 2017, at 03:27 PM, Jason L Tibbitts III wrote:
> 
> > FW> However, this use is controversial because some
> > FW> RPM lookalikes do not implement Lua scriptlets.
> > 
> > For Fedora that certainly isn't a concern.
> 
> For the editions that use rpm-ostree, such as Fedora Atomic Host, it is:
> See:
> 
> http://lists.rpm.org/pipermail/rpm-ecosystem/2016-August/000391.html
> https://github.com/projectatomic/rpm-ostree/pull/763
> https://bugzilla.redhat.com/show_bug.cgi?id=1367585
> https://github.com/projectatomic/rpm-ostree/pull/980
> 
> (But currently, as linked from one of the PRs, we just override
>  the Fedora glibc packages' use of lua, since it's unnecessary.
>  It seems strange to me that Florian has time to reply on list
>  here and not review the patch in the BZ...)

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...presumably this can only really happen for scripts that run
during initial system installation, of course (I don't think it's
reasonably possible to remove /bin/sh from a Fedora system once it's
there).
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
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