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

Re: deb 'streams', 'capabilities', relocation



"Christopher W. Curtis" <ccurtis@aet-usa.com> wrote:
>Another capability that I would like to see is "Relocatable".  This
>option would allow you to move a package from the default location, say
>/usr/bin, to a shared structure, like /export/linux/i386/bin.
>
>The method I have in mind for making this possible would not require the
>assistance of a package building tool.  Quite simply, when doing a
>'configure', make the target directory something like
>'--prefix=/DEBIAN_RELOCATABLE_PACKAGE_FORMAT_DEFAULT_TARGET_INSTALL_DIRECTORY=/usr/bin//'. 
>Then add the 'Relocatable' capability to the package.

I think a much better solution if you need this sort of thing is to
chroot() to the relevant directory and do the installation there. It
doesn't provide the ability to completely translate paths, but I think
that has bad implications for stability anyway.

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: