Re: %post RPM scriptlets and dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/10/2015 03:12 PM, Florian Weimer wrote:
On 12/10/2015 01:32 PM, Panu Matilainen wrote:
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.

I dispute the “obviously” part, with regard to unpacked files. :)

But as I understand it, RPM does not distinguish between unpacking and
configuring as a far as dependencies are concerned.  This means that
when it comes to %post scriptlets, dependencies are far stronger than
with Debian's dpkg, and the cycle-breaking mechanisms are required more
often.

Correct, rpm does not distinguish between unpacked and configured. It doesn't make much difference since it does not support delayed script execution.

	- Panu -
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux