Re: Executing make commands on files in install area

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

 




--- Lakshmi V <lakshmi.granger@xxxxxxxxx> wrote:

> On 1/17/06, Valery Reznic <valery_reznic@xxxxxxxxx>
> wrote:
> >
> >
> >
> > --- Lakshmi V <lakshmi.granger@xxxxxxxxx> wrote:
> >
> > > Hi all,
> > >
> > > Once the files are copied during installation, I
> > > need to execute some make
> > > commands on files present in the install home.
> > > Should I be placing them in
> > > %install section or in %post install section ?
> >
> > In the %install section.
> >
> > %post commands executed during package
> installation
> 
> 
> isn't the %post commands executed after package
> installation ???
> For e.g. if I want to execute a make file which is
> present in my installed
> location say /home/test/test.mk, which would be put
> there only after my
> files are copied as part of install, if I put it in
> my %install section also
> it will work???
My be i misread your question. I think you need do
some changes on the build computer.

%install section is executed on the computer where rpm
is build.
%post is executed on the "target" computer, where rpm
installed.


Valery.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux