Prefix on a symlink?
Hey Al,
Elmar Hinz <oss.elmar@googlemail.com> writes:
> I want to distribute a prefix based product to different customers,
> but my home directory (/home/elmar/) is compiled into it.
> Would a symlink work to solve this?
> mkdir /home/elmar/gentoo
> sudo ln -s /home/elmar/gentoo/ /opt/gentoo
> Then do bootstrapping in /opt as elmar?
Take a look at http://thread.gmane.org/gmane.linux.gentoo.alt/4502/.
The most non-trivial part is the runtime library loading. In prefix, we
have the library pathes hard compiled into the binaries. Moving them
requires a recompilation.
--
XU Benda
Research Center for Neutrino Science
Tohoku University
JAPAN
http://www.awa.tohoku.ac.jp/~benda
|