Help!

RPM questions

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  GCC RPM  
Author Message
pinkus
External


Since: Feb 19, 2007
Posts: 1



PostPosted: Mon Feb 19, 2007 1:31 pm    Post subject: RPM questions
Archived from groups: linux>redhat>rpm (more info?)

I'm new to creating RPMs.

I have put together a Solaris pkgstream format PKG before and base my
question(s) on that experience.

Under the pkgstream format, you have a checkinstall script that runs
as nobody. If it fails [non-zero exit] the package will not be
installed. If the preinstall script for a solaris pkg fails with non-
zero exit status, the package will be registered with the host's
package database.

Three Qs:
1. Does RPM package have the same behavior -- non-zero exit in the
%pre or %post will cause the package to be registered with the rpm
package database?

2. when does the RPM package get registered as installed in relation
to the %pre or %post portions of install time scripts?

3. when does the RPM package get de-registered after successful [exit
0] of %preun or %postun?

I have red thru chapters 10 and 13 and the Appendix E of Maximum RPM,
but didn't find discussion of these install/erase-time scripts and
exit statii.

Thanks in advance,
Paul
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum