[CentOS-devel] Custom CentOS :: Buildinstall: package order problem
richardj112 at gmail.com
Wed Oct 29 04:46:07 UTC 2008
Thanks a lot for your help. I finally solved the problem I was facing and
now I completed the project.
Thanks Again! Keep up the great work :-)
On Wed, Oct 22, 2008 at 2:17 PM, Niels de Vos <
niels.devos at wincor-nixdorf.com> wrote:
> Richard J wrote:
> > Hi Niels,
> > Thanks a lot for such a prompt response. Actually, I am new to this
> > stuff so I need to clarify this a bit more. Are you saying that if
> > 'PreReq' is used instead of 'Requires' in .spec then the kernel rpm
> > would install before my RPM??
> 10.1.2. Setting prerequisites
> A prerequisite is similar to a require dependency, except that a
> prerequisite must be installed prior to a given package. Specify a
> prerequisite as follows:
> PreReq: capability
> You can include version-number dependencies, such as:
> PreReq: capability >= version
> In most usage, a PreReq: acts just like Requires:, in fact, the PreReq:
> directive exists just to allow for a manual order to dependencies. RPM
> guarantees that the PreReq: package will be installed prior to the package
> that names the PreReq: dependency.
> > Thanks again,
> > Richard
> > On 10/22/08, Niels de Vos <niels.devos at wincor-nixdorf.com> wrote:
> >> Hello Richard,
> >> Richard J wrote:
> >>> But, the problem lies in the order in which the packages get installed.
> >>> There is a 3rd party RPM which needs the kernel source to get
> >>> installed, but the kernel's rpm get installed after the 3rd party RPM.
> >>> Due to which the installation of my 3rd party RPM fails!
> >> ...
> >>> I am not able to figure out how to change the packages installation
> >>> order so that kernel rpm could install before my rpm.
> >> The .spec of your 3rd-party RPM should probably use PreReq instead of
> >> Requires for the kernel sources.
> >> Hope that helps,
> >> Niels
> > _______________________________________________
> > CentOS-devel mailing list
> > CentOS-devel at centos.org
> > http://lists.centos.org/mailman/listinfo/centos-devel
> CentOS-devel mailing list
> CentOS-devel at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-devel