On Friday 2016-12-23 20:19, Anton Aylward wrote:
On 12/23/2016 01:29 PM, Jan Engelhardt wrote:
"no" to modifying any files in %post.
Reason/Justification?
A package already allows you, the packager, to place arbitrary files in arbitrary locations via %files. In the context of the discussion, if you want /bin/* to be hardlinks (not that I think that it is a sensible thing), make that happen when the package is built, not bolting it on after the fact.
Are there any RPMs where files *are* modified on %post?
Quite so, like - /var caches (untracked; regeneratable anytime) - archaic merged config files like those in /etc/sysconfig/* and /etc/passwd (not regeneratable! and therefore a point to mess up badly. You would need a VERY good reason to edit around in /etc in %post directly) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org