1 |
Dnia 2014-08-24, o godz. 12:42:02 |
2 |
Brian Dolbec <dolsen@g.o> napisał(a): |
3 |
|
4 |
> There is breakage in catalyst runs. |
5 |
> |
6 |
> [08:26] <iamben> has anyone tried mgorny's new portage ebuild? after |
7 |
> portage is emerged for stage1, it's missing /usr/lib/portage/bin/ |
8 |
> altogether, for me |
9 |
|
10 |
Well, that directory is no longer used, so it's fine missing as long |
11 |
as executables are where they're supposed to be ;). |
12 |
|
13 |
> I did a search thru the catalyst code. It is hard-coded in only 1 |
14 |
> place: |
15 |
> |
16 |
> lines 35, 37 in stage1-controller.sh |
17 |
> |
18 |
> code snipit: |
19 |
> |
20 |
> clean) |
21 |
> # Clean out man, info and doc files |
22 |
> rm -rf usr/share/{man,doc,info}/* |
23 |
> # Zap all .pyc and .pyo files |
24 |
> find . -iname "*.py[co]" -exec rm -f {} \; |
25 |
> # Cleanup all .a files except libgcc.a, *_nonshared.a and |
26 |
> # /usr/lib/portage/bin/*.a |
27 |
> find . -type f -iname "*.a" | grep -v 'libgcc.a' | \ |
28 |
> grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \ |
29 |
> grep -v 'libgcc_eh.a' | xargs rm -f |
30 |
> ;; |
31 |
> |
32 |
> *) |
33 |
> |
34 |
> Michał can you supply me a patch to fix this in catalyst and I will apply it. |
35 |
|
36 |
It should be enough to change that path to '/usr/lib/portage/'. Though |
37 |
it would generally be better to pass additional tests to find rather |
38 |
than playing with grep... |
39 |
|
40 |
-- |
41 |
Best regards, |
42 |
Michał Górny |