summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2008-04-10 14:42:50 +0200
committerJindrich Novy <jnovy@redhat.com>2008-04-10 14:43:39 +0200
commit61dff28fa4d9169fd71ccd7a9f83c1186037c3db (patch)
treedd4027575bc85de80ded411ecc10b6404bb47869 /rpm2cpio.c
parentf350b07096e872eb135df68f2906eae2aa306726 (diff)
downloadlibrpm-tizen-61dff28fa4d9169fd71ccd7a9f83c1186037c3db.tar.gz
librpm-tizen-61dff28fa4d9169fd71ccd7a9f83c1186037c3db.tar.bz2
librpm-tizen-61dff28fa4d9169fd71ccd7a9f83c1186037c3db.zip
Call rpmReadConfigFiles() in rpm2cpio so that rpm2cpio won't complain like:
warning: Unknown system: (null) warning: Please contact rpm-maint@lists.rpm.org
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index 05ff8e9d3..164a61f64 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -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;