Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Peter Humphrey <prh@...>
Subject: Re: chrooted environment not available to users
Date: Fri, 09 Dec 2005 10:42:09 +0000
Mark Knecht wrote:

>    I'm apparently not able to get the path edit quite right. It's
> asking about /home/32-bit. Please double check me if possible:
> 
> 1) Everything, including the patch file, is copied to
> /usr/local/portage/sys-apps/l32:

(Pardon my butting in, Billy; I thought my experience might help Mark.)

You need to set up this structure:

# ls -l /usr/local/portage/sys-apps/l32/
drwxr-xr-x  2 root root    4096 Dec  9 10:18 files
-rw-r--r--  1 prh  users    610 Dec  9 09:52 l32-1.1.ebuild

# ls -l /usr/local/portage/sys-apps/l32/files/
-rw-r--r--  1 prh  users   335 Dec  9 10:01 l32_h-gentoo.patch

Note the name you have to give to the patch file you downloaded from the 
bugs site. Note also the name of the ebuild file. I don't suppose the 
ownership of the files matters, as you'll be operating as root anyway.

Next, create /usr/local/portage/distfiles/ if it doesn't exist already, and 
put l32_1.1.tar.gz in there, not in the sys-apps/l32 directory (this seems 
to be the step you've missed); the emerge process will construct a temporary 
working directory for all that stuff. You don't need to go extracting the 
tarball and editing its contents - that's what the patch file is for.

Oh, and don't put the tarball in /usr/portage/distfiles/ or it'll be erased 
at the next emerge --sync!

Then, as Billy said, edit line 8 of files/l32_h-gentoo.patch to set the 
directory where your chroot lives. In my case this is /mnt/gentoo32/, so my 
line 8 reads:

+#define DEFAULT_LOWDIR "/mnt/gentoo32"

After that, run your digest-building command:

# ebuild /usr/local/portage/sys-apps/l32/l32-1.1.ebuild digest

and you can then emerge l32.

HTH. Let me know if I've missed something...

-- 
Rgds
Peter Humphrey
Linux Counter 5290, Aug 93.
-- 
gentoo-amd64@g.o mailing list


Replies:
Re: chrooted environment not available to users
-- Billy Holmes
Re: chrooted environment not available to users
-- Duncan
References:
chrrot'ed environment not available to users
-- Mark Knecht
Re: chrrot'ed environment not available to users
-- Billy Holmes
Re: chrrot'ed environment not available to users
-- Billy Holmes
Re: chrrot'ed environment not available to users
-- Mark Knecht
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: chrrot'ed environment not available to users
Next by thread:
Re: chrooted environment not available to users
Previous by date:
Re: initio seen, mt -f doesn't work
Next by date:
Re: Re: gcc compile failed after 2005.1-r1 instalation [OT- html posts]


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.