Installing RPM's inside %post
Jos Vos
jos at xos.nl
Sun Jul 4 17:00:25 UTC 2010
On Sun, Jul 04, 2010 at 01:46:49PM -0300, Samir Cury wrote:
> I was having a problem when automating a software install via RPM, it is due
> to a python script that I run on %post that actually installs other RPMs,
> but it seems that for obvious reasons, when the script attempt to install
> the RPMs it fail because the lock is still there (the father RPM is still
> being installed) the install never goes on :
You just should not do (or want to do) this.
Add the needed rpm tpo as a "Required:" header in your spec file.
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the Rpm-list
mailing list