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