FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 08-21-2010, 01:42 PM
Elmar Hinz
 
Default Prefix on a symlink?

To take scenario 2 of the use case article as examle:

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?

Better solutions?

Al
 
Old 08-21-2010, 06:04 PM
 
Default 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
 
Old 08-21-2010, 06:25 PM
Elmar Hinz
 
Default Prefix on a symlink?

>
> Take a look at http://thread.gmane.org/gmane.linux.gentoo.alt/4502/.
>

Thank you. This thread is about altering the prefix.

That's what I want to avoid by setting /opt/gentoo as common prefix
for all end users and than symlink to it. Hence the question, if it
would work on such a symlink or break.

The other question in this case is about how to handle the different user ids.

Al
 
Old 08-21-2010, 07:17 PM
Elmar Hinz
 
Default Prefix on a symlink?

First report to the symlink question:

I moved the whole bootstrapped /home/elmar/gentoo to my USB stick. The
new path is /media/Prefix.

After symlinking to /home/elmar/gentoo at least my test candidate gedit works.

Now I try how far it will directly cooperate with Suse and Fedora live CDs.

Al
 

Thread Tools




All times are GMT. The time now is 06:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org