if (opkg_conf_load())
goto err0;
- if (pkg_hash_load_feeds())
+ if (pkg_hash_load_feeds(0))
goto err1;
if (pkg_hash_load_status_files())
head = prepare_upgrade_list();
for (node = active_list_next(head, head); node;
node = active_list_next(head, node)) {
- old = list_entry(node, pkg_t, list);
+ old = node->pkg;
new =
pkg_hash_fetch_best_installation_candidate_by_name(old->
name);
/* check architecture */
if (arch) {
- if (sstrcmp(pkg_get_string(pkg, PKG_ARCHITECTURE), arch))
+ if (sstrcmp(pkg_get_architecture(pkg), arch))
continue;
}