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())
/* check architecture */
if (arch) {
- if (sstrcmp(pkg_get_string(pkg, PKG_ARCHITECTURE), arch))
+ if (sstrcmp(pkg_get_architecture(pkg), arch))
continue;
}