RPM Community Forums

Mailing List Message of <rpm-users>

Re: Glibc %post

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Sat 19 Jun 2010 - 16:36:53 CEST
Message-Id: <201006191436.59004.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 18 June 2010, Jeff Johnson <n3npq@mac.com> wrote:
> > - ---%<---
> > %post -p <lua>
> > os.execute("/sbin/ldconfig")
> > - --->%---
> 
> Oooh, nicely done! That's so much easier than the
> insanity within the statically linked glibc %post
> that is traditionally used.

I just ate my own dog food and upgraded glibc-2.7 to eglibc-2.11 on my 
workstation while KDE and everything was running. It worked! :-)

> FWIW, all scriptlet bodies are macro expanded so this SHOULD work:
> - ---%<---
> %post -p <lua>
> os.execute("%{__ldconfig}")
> - --->%---

I'll try it out at another occasion. My TODO file holds the bare-metal 
buildroot thingy as next priority item. Btw, I added my package building key 
to keys.rpm5.org. Now that it's there, will RPM5 > 5.1.9 automatically check 
for the key whenever it encounters signed packages?

> Congrats seem to be in order. Congrats!

Thanks! Dunno whether I can still "lose". I hope for a good evaluation. :-)

			Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkwc1gYACgkQhS0drJ3goJLO3wCfQRJgNeysBU5rbJs5UfqncRwj
sCMAn3d3tG/y3T9fjGs7yWZECNEaJbsc
=iuPh
-----END PGP SIGNATURE-----
Received on Sat Jun 19 16:37:24 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.