RPM Community Forums

Mailing List Message of <rpm-devel>

Re: RPM installation ordering

From: devzero2000 <devzero2000@rpm5.org>
Date: Mon 07 Jul 2008 - 11:48:02 CEST
Message-ID: <b086760e0807070248p7b5911c1p4943420bb804782e@mail.gmail.com>
It is a possible  solution but it is terrible as quality assurance because
in my-rpm there isn't pre o post scriplet.

Regards

On 7/7/08, devzero2000 <devzero2000@rpm5.org> wrote:
>
> I agree with Jeff, but if you want a naive solution then, in my-rpm SPEC
>
> Require(pre): vendor-provided
> Require(post): my-post
>
> hth
>
>
> On 7/2/08, Jeff Johnson <n3npq@mac.com> wrote:
>>
>>
>> On Jul 1, 2008, at 6:52 PM, Jay Soffian wrote:
>>
>>  On Tue, Jul 1, 2008 at 1:23 AM, Michael Jennings <mej@kainx.org> wrote:
>>>
>>>> Is it possible that what you're trying to accomplish might be better
>>>> done with %triggers?  Or are these strictly file-/content-based
>>>> dependency ordering issues?  More details might help clarify. :)
>>>>
>>>
>>> Yeah, it occurred to me last night triggers might be better.
>>>
>>> I don't have more details or I'd share them. This is for a customer
>>> I'm supporting through a middleman.
>>>
>>> Thanks for the suggestion.
>>>
>>>
>> What is not clear to me is what the "install before" prerequisite
>> condition is.
>>
>> From a logical POV, the vendor package has no dependencies and so
>> can be installed in any order. Yes, there may be dependencies that were
>> not
>> included, but that is exactly what I am missing.
>>
>> FWIW, you can likely bundle the vendor rpm into another rpm, and
>> install in a %post script, if you absolutely must somehow order some
>> operation before installing the vendor rpm. That's the best I could figger
>> last night without additional info ...
>>
>> 73 de Jeff
>> ______________________________________________________________________
>> RPM Package Manager                                    http://rpm5.org
>> Developer Communication List                        rpm-devel@rpm5.org
>>
>
>
Received on Mon Jul 7 11:48:08 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.