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:
parent
f350b07096
commit
61dff28fa4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue