[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Relocatable packages



On Tue, Jan 29, 2002 at 11:18:40PM +0100, Gerhard Muntingh wrote:

> On Tue, Jan 29, 2002 at 04:29:17PM -0500, Matt Zimmerman wrote:
> > Every deb is a "location independent" package:
> > 
> > dpkg -i --instdir=/usr/local/somewhere
> 
> but you can't do: dpkg -i --relocate /usr/doc=/usr/share/doc

This is just a small matter of programming.  Even if it were implemented,
though, it would not give you any real flexibility unless installed programs
were able to dynamically adapt to being relocated.  So I don't think that it
would be worthwhile to implement at this time.

For the specific case of /usr-doc->/usr/share/doc, what would this
accomplish?  This does not solve the transition problem, and the binary
packages still must be repackaged to contain the correct paths at some
point.

More useful (though with a different goal) would be

dpkg -i --exclude=/usr/share

or something similar, which I think has some chance of being implemented one
day to allow /usr/share to actually be shared.

-- 
 - mdz



Reply to: