Mark Knecht wrote:
   What's the proper way to make this work for a user? I find myself
confused by the idea of making too much of the /mnt/gentoo32 directory

that's why I made this little program and an ebuild to go with it:

http://bugs.gentoo.org/show_bug.cgi?id=111367

http://www.gonoph.net/node/37

drwxr-xr-x  18 root root 4096 Aug 10 04:47 gentoo32

you'll have to:

(0) Make sure you have a portage overlay directory setup: mkdir /usr/local/portage ; edit /etc/make.conf and add PORTDIR_OVERLAY="/usr/local/portage"

(1) copy the ebuild and patch to your portage overlay directory (default: /usr/local/portage/) I put it in sys-apps (/usr/local/portage/sys-apps/l32) on my system.

(2) copy the patch to sys-apps/l32/files

(3) edit the patch to so that /home/32-bit changes to /mnt/gentoo32

(4) type "ebuild /usr/local/portage/sys-apps/l32/$EBUILD digest" where EBUILD is the name of the ebuild you saved.

(5) type "emerge -avt l32"

(6) run it like this as a normal user:
   l32 /bin/bash

or you can run any program in your chroot.. it doesn't have to be /bin/bash
--
[email protected] mailing list

Reply via email to