Donnie Berkholz пишет:
> Anton S. Ustyuzhanin wrote:
>   
>> # ltsp emerge -p glibc
>> --- 'profiles/arch.list' is empty or not available. Empty portage tree?
>> --- 'profiles/updates' is empty or not available. Empty portage tree?
>> --- 'profiles/arch.list' is empty or not available. Empty portage tree?
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies
>> emerge: there are no ebuilds to satisfy "glibc".
>>
>> My /opt/ltsp/i386/etc/make.conf and
>> ltsp emerge --info > ltsp_emerge.info 2>&1 attached.
>> Why PORTAGE_CONFIGROOT does not work for me?
>>
>>
>> P.S.
>> When i do just emerge <package>, or ROOT="somewhere" emerge <package>
>> - everything is ok. But when PORTAGE_CONFIGROOT takes place it does
>> not work.
>>     
>
> Sounds like you never set up a profile symlink in /opt/ltsp/i386, or it
> points somewhere invalid. Try creating a bind mount from
> /opt/ltsp/i386/usr/portage to /usr/portage:
>
>       mkdir -p /opt/ltsp/i386/usr/portage
>       mount -o bind /usr/portage /opt/ltsp/i386/usr/portage
>
> Thanks,
> Donnie
>
>   
SOLVED:
Emerge also looking for make.globals in ${PORTAGE_CONFIGROOT}/etc/
Donnie, add this diff to setup.txt.

--- setup.txt.orig   2007-01-16 13:03:47.000000000 +0600
+++ setup.txt       2007-01-16 13:04:48.000000000 +0600
@@ -51,6 +51,7 @@
        PORTDIR=$(portageq portdir)
        ln -s ../../../../${PORTDIR}/profiles/default-linux/x86/2006.1
make.profile
        cp /etc/make.conf .
+       cp /etc/make.globals .
        popd
        # Install to client root, forcing binary-only packages
        # gcc is needed for libstdc++

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to