1 |
Mark Knecht wrote: |
2 |
|
3 |
> I'm apparently not able to get the path edit quite right. It's |
4 |
> asking about /home/32-bit. Please double check me if possible: |
5 |
> |
6 |
> 1) Everything, including the patch file, is copied to |
7 |
> /usr/local/portage/sys-apps/l32: |
8 |
|
9 |
(Pardon my butting in, Billy; I thought my experience might help Mark.) |
10 |
|
11 |
You need to set up this structure: |
12 |
|
13 |
# ls -l /usr/local/portage/sys-apps/l32/ |
14 |
drwxr-xr-x 2 root root 4096 Dec 9 10:18 files |
15 |
-rw-r--r-- 1 prh users 610 Dec 9 09:52 l32-1.1.ebuild |
16 |
|
17 |
# ls -l /usr/local/portage/sys-apps/l32/files/ |
18 |
-rw-r--r-- 1 prh users 335 Dec 9 10:01 l32_h-gentoo.patch |
19 |
|
20 |
Note the name you have to give to the patch file you downloaded from the |
21 |
bugs site. Note also the name of the ebuild file. I don't suppose the |
22 |
ownership of the files matters, as you'll be operating as root anyway. |
23 |
|
24 |
Next, create /usr/local/portage/distfiles/ if it doesn't exist already, and |
25 |
put l32_1.1.tar.gz in there, not in the sys-apps/l32 directory (this seems |
26 |
to be the step you've missed); the emerge process will construct a temporary |
27 |
working directory for all that stuff. You don't need to go extracting the |
28 |
tarball and editing its contents - that's what the patch file is for. |
29 |
|
30 |
Oh, and don't put the tarball in /usr/portage/distfiles/ or it'll be erased |
31 |
at the next emerge --sync! |
32 |
|
33 |
Then, as Billy said, edit line 8 of files/l32_h-gentoo.patch to set the |
34 |
directory where your chroot lives. In my case this is /mnt/gentoo32/, so my |
35 |
line 8 reads: |
36 |
|
37 |
+#define DEFAULT_LOWDIR "/mnt/gentoo32" |
38 |
|
39 |
After that, run your digest-building command: |
40 |
|
41 |
# ebuild /usr/local/portage/sys-apps/l32/l32-1.1.ebuild digest |
42 |
|
43 |
and you can then emerge l32. |
44 |
|
45 |
HTH. Let me know if I've missed something... |
46 |
|
47 |
-- |
48 |
Rgds |
49 |
Peter Humphrey |
50 |
Linux Counter 5290, Aug 93. |
51 |
-- |
52 |
gentoo-amd64@g.o mailing list |