summaryrefslogtreecommitdiff
path: root/src/rpm.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-09-23 21:48:07 -0400
committerKristian Høgsberg <krh@redhat.com>2008-09-23 21:50:02 -0400
commit998aeb2021e23021b64ed79fea4c1354b96e3e0a (patch)
treea6a1b545a4db785889f7ac119d57cd0b244635ae /src/rpm.c
parent922da565637876418747ac1f9ac7dbb0b70969c6 (diff)
Go back to having all info in one rzdb file.HEADmaster
We can still split the rzdb file into a main file and a file data and a details file, but that's only for optimizing the required download size. On the system we always combine the parts back into one rzdb file once downloaded.
Diffstat (limited to 'src/rpm.c')
-rw-r--r--src/rpm.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rpm.c b/src/rpm.c
index 412a490..769f80e 100644
--- a/src/rpm.c
+++ b/src/rpm.c
@@ -349,11 +349,6 @@ get_query_packages(struct razor_set *set, int argc, const char *argv[])
exit(1);
}
- files = "install/var/lib/razor/system-files.rzdb";
- if (option_file)
- if (razor_set_open_files(set, files))
- exit(1);
-
query = razor_package_query_create(set);
if (option_all) {
@@ -478,16 +473,6 @@ command_query(int argc, const char *argv[])
option_all = 1;
} else {
set = razor_root_open_read_only(option_root);
-
- /* FIXME: We need to figure out how to do this right. */
- details = "install/var/lib/razor/system-details.rzdb";
- if (option_info)
- if (razor_set_open_details(set, details))
- return;
- files = "install/var/lib/razor/system-files.rzdb";
- if (option_list)
- if (razor_set_open_files(set, files))
- return;
}
pi = get_query_packages(set, argc, argv);