[ale] library package management on LFS with stow
Chris Fowler
cfowler at outpostsentinel.com
Wed Sep 21 18:21:54 EDT 2016
> From: "Chris Fowler" <cfowler at outpostsentinel.com>
> To: ale at ale.org
> Sent: Wednesday, September 21, 2016 5:46:58 PM
> Subject: [ale] library package management on LFS with stow
> I've fixed, but I need to fix my wrapper. How do I go about upgrading a library?
> Should I stow (create links) for the upgrade into a temp directory, use
> LD_LIBRARY_PATH then remove old and replace with new? Maybe static awk and
> static bash? I already have a busybox static binary that I can use, but many
> configure scripts will choke on the limited options for those applets.
I think I know. My build script removes all data for the package I'm building.
1. Rebuild the package
2. destow the original package. This deletes links. Any binary using a library is still running with it.
3. move the pkg directory to another name.
4. stow new
5. delete the old package directory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20160921/814c88a1/attachment.html>
More information about the Ale
mailing list