[zypp-commit] r8139 - in /trunk/sat-solver/tools: repo_rpmdb.c repo_rpmdb.h rpmdb2solv.c
Author: kkaempf Date: Sat Dec 22 09:17:02 2007 New Revision: 8139 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8139&view=rev Log: prepare to pass rootdir for reading rpmdb from other directory (unfinished) Modified: trunk/sat-solver/tools/repo_rpmdb.c trunk/sat-solver/tools/repo_rpmdb.h trunk/sat-solver/tools/rpmdb2solv.c Modified: trunk/sat-solver/tools/repo_rpmdb.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_rpmdb.c?rev=8139&r1=8138&r2=8139&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_rpmdb.c (original) +++ trunk/sat-solver/tools/repo_rpmdb.c Sat Dec 22 09:17:02 2007 @@ -511,7 +511,7 @@ */ void -repo_add_rpmdb(Repo *repo, Repo *ref) +repo_add_rpmdb(Repo *repo, Repo *ref, const char *rootdir) { Pool *pool = repo->pool; unsigned char buf[16]; Modified: trunk/sat-solver/tools/repo_rpmdb.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_rpmdb.h?rev=8139&r1=8138&r2=8139&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_rpmdb.h (original) +++ trunk/sat-solver/tools/repo_rpmdb.h Sat Dec 22 09:17:02 2007 @@ -5,4 +5,4 @@ * for further information */ -extern void repo_add_rpmdb(Repo *repo, Repo *ref); +extern void repo_add_rpmdb(Repo *repo, Repo *ref, const char *rootdir); Modified: trunk/sat-solver/tools/rpmdb2solv.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/rpmdb2solv.c?rev=8139&r1=8138&r2=8139&view=diff ============================================================================== --- trunk/sat-solver/tools/rpmdb2solv.c (original) +++ trunk/sat-solver/tools/rpmdb2solv.c Sat Dec 22 09:17:02 2007 @@ -44,7 +44,7 @@ } repo = repo_create(pool, "installed"); - repo_add_rpmdb(repo, ref); + repo_add_rpmdb(repo, ref, "/"); if (ref) { if (ref->pool != pool) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
kkaempf@svn.opensuse.org