1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 31/07/12 10:55 AM, Michael Mol wrote: |
5 |
> On Tue, Jul 31, 2012 at 10:48 AM, "Paweł Hajdan, Jr." |
6 |
> <phajdan.jr@g.o> wrote: |
7 |
>> On 7/26/12 8:26 PM, Rich Freeman wrote: |
8 |
>>> I've been messing around with namespaces and some of what |
9 |
>>> systemd has been doing with them, and I have an idea for a |
10 |
>>> portage feature. |
11 |
>>> |
12 |
>>> But before doing a brain dump of ideas, how useful would it be |
13 |
>>> to have a FEATURE for portage to do a limited-visibility build? |
14 |
>>> That is, the build would be run in an environment where the |
15 |
>>> root filesystem appears to contain everything in a DEPEND |
16 |
>>> (including @system currently) and nothing else? |
17 |
>> |
18 |
>> I was thinking about something similar too. In my opinion it's a |
19 |
>> great feature. If/when there are any bugs to get this |
20 |
>> implemented, please let me know. |
21 |
>> |
22 |
>> A possible alternative implementation would be to make the |
23 |
>> sandbox deny access to anything outside DEPEND. One totally crazy |
24 |
>> idea to make that fast are extended attributes (portage would |
25 |
>> record which package a file belongs to when merging the file). |
26 |
>> Another possible solution is using a cache. |
27 |
> |
28 |
> We already have the ability to run commands like 'equery b |
29 |
> $somefile' to map a file back to a package, so the data for a |
30 |
> filesystem helper should already be available in whatever database |
31 |
> equery is using. |
32 |
> |
33 |
|
34 |
Although that is true, it would be -WAY- too slow to generate said |
35 |
list via equery/q* helpers; I think that's where the |
36 |
extended-attributes and/or cache idea comes into play. |
37 |
|
38 |
|
39 |
-----BEGIN PGP SIGNATURE----- |
40 |
Version: GnuPG v2.0.19 (GNU/Linux) |
41 |
|
42 |
iF4EAREIAAYFAlAX8jUACgkQ2ugaI38ACPAm8wEAlfvF3KgQi5ZsH7FbCfALxOn0 |
43 |
hF9Y+vhH8I5Ki0NUbAYA/0uDWlPlx2RIpK8Z7B8E/n//Fuii8ZFppVC440g3djjT |
44 |
=/xMA |
45 |
-----END PGP SIGNATURE----- |