On 12/10/2015 11:41 AM, Florian Weimer wrote:
When a %post scriptlet runs, is it guaranteed that the Requires: dependencies have been unpacked? I understand that for cycle-breaking purposes, it may not be true that the scriptlets for dependencies have run. But are the files already there? (I'm interested in plain Requires, not Requires(post) etc.)
Requires and Requires(post) are equal in ordering except for loop-breaking purposes. When no loops are present, both guarantee the files are there. When dependency loops are involved rpm makes an educated guess to cut it but obviously there can be no absolute guarantee.
Has the behavior changed since RPM 4.8?
The basic rules above have stayed the same since rpm 4.0 days. 4.8 had a major ordering rewrite to better handle loops, since then some corner case bugs have been fixed, but no major rule changes. What does change constantly is the package set and the loops within it.
- Panu - -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx