Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11302 - "layers" of installed packages
Summary: "layers" of installed packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Matt Keadle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-27 10:47 UTC by Sanity In Anarchy
Modified: 2011-10-30 22:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sanity In Anarchy 2002-11-27 10:47:05 UTC
When I merge BusyBox, I notice that it doesn't create any of the
symlinks to itself that I often see on bootdisks and such.  There's an
obvious reason for that -- it doesn't want to overwrite the more
functional binaries that might already be there.  But it would be nice
to have those links for binaries that aren't already there?

Ok, say I have gzip and BusyBox installed, and I remove gzip.  Since
BusyBox has already been merged (and wouldn't overwrite gzip), I have
no gzip binary.  Be nice if there could be "layers" of packages, so
that a preferred package (like gzip) would always be "on top" of
things like BusyBox -- gzip would overwrite BB binaries, but not vice
versa -- and unmerging gzip would leave a BusyBox symlink behind?

As for the implementation, probably binary packages (PORTDIR/packages)
would be used somehow, though I'm sure there are other solutions.

Of course, BusyBox is only the beginning.  What about wine/winex?
sed/supersed?  locate/slocate?
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-11-27 12:49:11 UTC
sed/supersed
sed = sed
supersed = ssed
Comment 2 Sanity In Anarchy 2002-11-27 19:33:41 UTC
True, but SuperSed is supposedly backwards compatable with sed, and
supposedly faster.  There could be a symlink from ssed to sed, but
this is like the opposite of the BusyBox thing -- what if I get rid of
supersed, but want the sed binary back?
Comment 3 Matt Keadle 2003-05-19 20:22:35 UTC
This issue is worked out on a per-package basis. Recently this has actually come up with supersed/sed and locate/slocate. Anything beyond basic overlapping is handles by virtuals.