1 |
Hi everyone, |
2 |
|
3 |
A while back, I wrote a python wrapper for install to preserve xattrs. |
4 |
Its installed in LIBDIR/portage/bin/install.py. It is *painfully* slow. |
5 |
For a package like moodle with 16650 .php files, none of which |
6 |
probably need any xattr's set, it takes about 30 mins to install. I |
7 |
rewrote the wrapper in C. Replacing the python wrapper with the C |
8 |
wrapper, the same example reduces from about 30 mins to 2 mins. |
9 |
|
10 |
Mike and I did some back and forth about how best to write it. The |
11 |
latest version is pretty much done at |
12 |
|
13 |
https://bugs.gentoo.org/show_bug.cgi?id=465000#c56 |
14 |
|
15 |
We need to get that integrated into portage. 1) I'm not 100% sure how |
16 |
to do that. 2) We may want to install it at /usr/bin/install-xattr |
17 |
because I'm sure it will be useful for more than just portage. |
18 |
|
19 |
Comments? |
20 |
|
21 |
-- |
22 |
Anthony G. Basile, Ph. D. |
23 |
Chair of Information Technology |
24 |
D'Youville College |
25 |
Buffalo, NY 14201 |
26 |
(716) 829-8197 |