On Mon, Jul 15, 2019 at 10:04 AM Miroslav Suchý <msuchy(a)redhat.com> wrote:
Dne 10. 07. 19 v 9:19 James Antill napsal(a):
> 2. adduser/group/etc. => sysusers files
For anyone willing to do this in advance on his/her package - this is how you can do
that:
https://github.com/rpm-software-management/mock/commit/cf4c8f076637755acc...
Here is relevant FPC ticket:
https://pagure.io/packaging-committee/issue/442
Just for the record - this does not make things to run faster. You still have to have
%pre scriptlets. It is likely even
slower as you are running %posttranstrigger as well. The benefit is here only that we
move toward declarative specification.
That’s also going to fail, because the %pre script executes before the
file exists. That’s why these guidelines are broken, and why I
suggested we deal with sysusers differently.
--
真実はいつも一つ!/ Always, there's only one truth!