1 |
Mark Knecht wrote: |
2 |
> What's the proper way to make this work for a user? I find myself |
3 |
> confused by the idea of making too much of the /mnt/gentoo32 directory |
4 |
|
5 |
that's why I made this little program and an ebuild to go with it: |
6 |
|
7 |
http://bugs.gentoo.org/show_bug.cgi?id=111367 |
8 |
|
9 |
http://www.gonoph.net/node/37 |
10 |
|
11 |
> drwxr-xr-x 18 root root 4096 Aug 10 04:47 gentoo32 |
12 |
|
13 |
you'll have to: |
14 |
|
15 |
(0) Make sure you have a portage overlay directory setup: mkdir |
16 |
/usr/local/portage ; edit /etc/make.conf and add |
17 |
PORTDIR_OVERLAY="/usr/local/portage" |
18 |
|
19 |
(1) copy the ebuild and patch to your portage overlay directory |
20 |
(default: /usr/local/portage/) I put it in sys-apps |
21 |
(/usr/local/portage/sys-apps/l32) on my system. |
22 |
|
23 |
(2) copy the patch to sys-apps/l32/files |
24 |
|
25 |
(3) edit the patch to so that /home/32-bit changes to /mnt/gentoo32 |
26 |
|
27 |
(4) type "ebuild /usr/local/portage/sys-apps/l32/$EBUILD digest" where |
28 |
EBUILD is the name of the ebuild you saved. |
29 |
|
30 |
(5) type "emerge -avt l32" |
31 |
|
32 |
(6) run it like this as a normal user: |
33 |
l32 /bin/bash |
34 |
|
35 |
or you can run any program in your chroot.. it doesn't have to be /bin/bash |
36 |
-- |
37 |
gentoo-amd64@g.o mailing list |