1 |
On 08/14/04 Brett I. Holcomb wrote: |
2 |
|
3 |
> I'm trying to create symlinks in an ebuild using dosym but an having |
4 |
> some problems. I do the following: |
5 |
> |
6 |
> dosym /usr/xyz/file /usr/abc/file |
7 |
> |
8 |
> or |
9 |
> |
10 |
> dosym ${D}/usr/xyz/file /usr/abc/file |
11 |
> |
12 |
> but all I get in /usr/abc is a broken symlink. |
13 |
> |
14 |
> The directory /usr/xyz has file in it and /usr/abc has file -> |
15 |
> /usr/xyz/file but ls shows a flashing red broken symlink and if I go |
16 |
> to/usr/abc and do ./file it says no such file or directory. |
17 |
|
18 |
Before or after the merge phase? |
19 |
It's normal that the symlink is "broken" before the merge phase if you |
20 |
use absolute symlinks, that's why ebuilds should always use relative |
21 |
links. |
22 |
|
23 |
Marius |
24 |
|
25 |
-- |
26 |
gentoo-dev@g.o mailing list |