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