1 |
Hi all. |
2 |
|
3 |
While working on my overlay, I stumbled on an issue where qfile refused |
4 |
to acknowledge an installed file as being part of my package. |
5 |
|
6 |
Looking into q's implementation (portage-utils-0.1.29), I see: |
7 |
|
8 |
amit0 portage-utils-0.1.29 # grep -A 2 next_entry ./libq/vdb_get_next_dir.c |
9 |
next_entry: |
10 |
ret = readdir(dir); |
11 |
if (ret == NULL) { |
12 |
-- |
13 |
goto next_entry; |
14 |
if (strchr(ret->d_name, '-') == NULL) |
15 |
if ((strcmp(ret->d_name, "virtual")) != 0) |
16 |
goto next_entry; |
17 |
|
18 |
I encountered this since I used a new category, which only contained a |
19 |
single word. Adding a hyphen and a 2nd token solved my issue, and now |
20 |
qfile knows the file's association. |
21 |
|
22 |
Is this assumption, that category should be "stringA-stringB" documented |
23 |
somewhere? |
24 |
|
25 |
10x, |
26 |
Amit |