1 |
On Thu, Apr 22, 2010 at 01:05:11AM +0300, Amit Dor-Shifer wrote: |
2 |
> When I invoke the following, I see http interaction w/gentoo.org: |
3 |
> |
4 |
> layman -c /dev/null -N -f -a oversi -o file:///tmp/layman-oversi.xml |
5 |
> which AFAIK doesn't read /etc/layman/layman.cfg. |
6 |
The config file given (empty via /dev/null in this case) overrides the |
7 |
options from self.defaults. Using '-c /dev/null' imports an EMPTY |
8 |
config, and empty does NOT override anything, leaving you with the |
9 |
defaults. |
10 |
|
11 |
Do this instead: |
12 |
# cat >/etc/layman/empty-overlays.xml <<EOF |
13 |
<?xml version="1.0" encoding="UTF-8"?> |
14 |
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd"> |
15 |
<repositories xmlns="" version="1.0" /> |
16 |
EOF |
17 |
|
18 |
Then set the 'overlays' key as: |
19 |
overlays: file:///etc/layman/empty-overlays.xml |
20 |
|
21 |
Or better yet, just put your OWN layman-oversi.xml reference into there |
22 |
and distribute that file, and avoid the entire need for the -o argument. |
23 |
|
24 |
-- |
25 |
Robin Hugh Johnson |
26 |
Gentoo Linux: Developer, Trustee & Infrastructure Lead |
27 |
E-Mail : robbat2@g.o |
28 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |