Call rpmReadConfigFiles() in rpm2cpio so that rpm2cpio won't complain like:

warning: Unknown system: (null)
warning: Please contact rpm-maint@lists.rpm.org
This commit is contained in:
Jindrich Novy 2008-04-10 14:42:50 +02:00
parent f350b07096
commit 61dff28fa4
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
fdo = fdDup(STDOUT_FILENO);
rpmReadConfigFiles(NULL, NULL);
{ rpmts ts = rpmtsCreate();
rpmVSFlags vsflags = 0;