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

A Very Basic RPM Doubt



Hi

I have a doubt which seems to be very basic. I have done few RPM building and deployments and may be i just missed this point somewhere.

When we give rpmbuild -ba <spec file>, this command executes the  %prep,%build and %install sections mentioned in the SPEC file and also created the binary and source RPMs..right???

Likewise, when we give rpm -Uvh <the binay rpm name>, how does the RPM know that it has to execute the %post section after installing the RPM???

Thanks,

Lis Thomas



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