[TriLUG] RPM spec file... Requires: init(foo) ??

Benjamin Reed rangerrick at befunk.com
Wed Aug 16 23:09:33 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Joyner wrote:

> Does anyone with a handy who has a solid RPM background know, so I don't
> have to dig through the source to find out?  :)

basically you can require that something be there for a specific part of
the rpm transaction chain...

- ---(snip!)---
Requires(pre): /usr/sbin/some-script.sh
Requires(post): /sbin/chkconfig

%pre
/usr/sbin/some-script.sh

%post
/sbin/chkconfig
- ---(snip!)---

Without these "hints" rpm is pretty lax in how it determines ordering
for installing packages.

Although, I must admit, I'm not sure what "init" stands for in this
case.  I generally use it for pre,post,preinst,postinst.

- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE493tUu+jZtP2Zf4RAu/eAJ44j8+habLtWxvWRYota1hIESg1zwCfffsO
GgRfOVz49UQZLa7QQdv/wgY=
=CKF5
-----END PGP SIGNATURE-----



More information about the TriLUG mailing list