1 |
Robin H. Johnson wrote: |
2 |
> On Thu, Apr 22, 2010 at 01:05:11AM +0300, Amit Dor-Shifer wrote: |
3 |
> |
4 |
>> When I invoke the following, I see http interaction w/gentoo.org: |
5 |
>> |
6 |
>> layman -c /dev/null -N -f -a oversi -o file:///tmp/layman-oversi.xml |
7 |
>> which AFAIK doesn't read /etc/layman/layman.cfg. |
8 |
>> |
9 |
> The config file given (empty via /dev/null in this case) overrides the |
10 |
> options from self.defaults. Using '-c /dev/null' imports an EMPTY |
11 |
> config, and empty does NOT override anything, leaving you with the |
12 |
> defaults. |
13 |
> |
14 |
> Do this instead: |
15 |
> # cat >/etc/layman/empty-overlays.xml <<EOF |
16 |
> <?xml version="1.0" encoding="UTF-8"?> |
17 |
> <!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd"> |
18 |
> <repositories xmlns="" version="1.0" /> |
19 |
> EOF |
20 |
> |
21 |
> Then set the 'overlays' key as: |
22 |
> overlays: file:///etc/layman/empty-overlays.xml |
23 |
> |
24 |
> Or better yet, just put your OWN layman-oversi.xml reference into there |
25 |
> and distribute that file, and avoid the entire need for the -o argument. |
26 |
> |
27 |
> |
28 |
ok. Thanks. I'll try generating a layman.cfg on the fly, read it w/(-c) |
29 |
and reference my overlay index from there. I want to ignore |
30 |
/etc/layman/layman.cfg |
31 |
|
32 |
Any advice regarding the second issue? |
33 |
|
34 |
Amit |