[Rpm-ecosystem] lua, unprivileged rpm, and rpm-ostree

Colin Walters walters at verbum.org
Fri Aug 12 12:19:30 UTC 2016



On Thu, Aug 11, 2016, at 05:52 PM, Miroslav Suchý wrote:

> Well, the main reason are %pretrans scripts. They are executed before 
> transaction start. And when you are preparing buildroot or when you 
> install new bare metal machine, there is no shell.
> 
> Such scriptlets are usually used to support upgrades from some previous 
> version, 

Your two paragraphs here conflict - if you're doing a new install, there
is nothing to upgrade from, hence we don't need to execute %pretrans.
If you're doing an upgrade, you have bash already.


More information about the Rpm-ecosystem mailing list