Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
[zypp-devel] using libzypp as user and also in /$MYROOT (libzypp-bindings / libzypp)
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Mon, 1 Sep 2008 16:59:30 +0200
  • Message-id: <200809011659.30799.dl9pf@xxxxxx>
Hi !

I'm using libzypp / libzypp-bindings-python to query packages available in an
http-rpmmd-repo.

I started with

initializeTarget(zypp.Pathname("/tmp/a"))

created my repoinfo, but then

mymanager.addRepository(myrepoinfo)

fails because it wants to write to /etc/zypp.
How can I change this behaviour ?
AFAIK /etc/zypp is stored in configPath. But found no "setConfigPath".
Did I miss something? Or is this not possible with libzypp ?

Best regards
Jan-Simon
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups