As part of efforts in Fedora 24 to address certain issues with the
edition-specific fedora-release content (such as /etc/os-release, /etc/issues
and edition-specific presets), I built a moderately complex series of bash
scripts to run in %post and %posttrans to ensure that all of the right files
were symlinked in the correct places.
Unfortunately, the result here is that %post and %posttrans for fedora-release
now requires both bash and coreutils to function properly, and this introduces a
cyclical dependency. It works properly on upgrades of realistic systems (all of
which have bash and coreutils on them), but it introduces issues with mock and
minimalistic systems on installation.
So what I am looking for is someone who is fluent in LUA to help me convert
these scripts over so that they can run entirely under the built-in LUA
interpreter of RPM and eliminate this problem.
This is a fairly urgent issue, as it may cause blocking issues for Fedora 24
installations. So if you think you can help, please respond promptly.
I'm attaching the current fedora-release.spec and convert-to-edition bash script
for perusal.