1 |
On 01/25/2018 10:11 AM, Michał Górny wrote: |
2 |
> W dniu czw, 25.01.2018 o godzinie 10∶07 +0100, użytkownik Michael |
3 |
> Haubenwallner napisał: |
4 |
>> Hi, |
5 |
>> |
6 |
>> ${Subject} ringing a bell here: |
7 |
>> |
8 |
>> dev-db/oracle-instantclient is fetch restricted. As a binary package with |
9 |
>> multiple USE options there's a bunch of files to download - even for |
10 |
>> multiple archs when multilib is active. |
11 |
>> |
12 |
>> So in pkg_nofetch() I'm telling the user whether a file to download is |
13 |
>> "already here" or "still absent", by testing if $A exists in $DISTDIR. |
14 |
>> |
15 |
>> With ${Subject}, I'm wondering if DISTDIR is created for pkg_nofetch too. |
16 |
>> |
17 |
> |
18 |
> You're doing the wrong thing then. DISTDIR is not allowed |
19 |
> in pkg_nofetch(). |
20 |
|
21 |
Is there a supported way to tell the user exactly which files are still missing? |
22 |
|
23 |
> Furthermore, you're touching files whose hashes have |
24 |
> not been verified which is twice wrong. |
25 |
|
26 |
Well - does portage actually provide unverified files in the shadow DISTDIR? |
27 |
|
28 |
Thanks! |
29 |
/haubi/ |