From: Michael Tremer Date: Fri, 23 Apr 2021 08:47:40 +0000 (+0000) Subject: pakfire: Set pool path X-Git-Tag: 0.9.28~1285^2~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a74ad85bae93fff822ffa50432619e49a2e6d8fb;p=pakfire.git pakfire: Set pool path Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/pakfire.c b/src/libpakfire/pakfire.c index fcf51cc2e..a3e4772a1 100644 --- a/src/libpakfire/pakfire.c +++ b/src/libpakfire/pakfire.c @@ -329,6 +329,9 @@ static int pakfire_populate_pool(Pakfire pakfire) { // Set architecture of the pool pool_setarch(pool, pakfire->arch); + // Set path + pool_set_rootdir(pool, pakfire->path); + // Open database in read-only mode and try to load all installed packages r = pakfire_db_open(&db, pakfire, PAKFIRE_DB_READWRITE); if (r)