pkg_get_installed_replacees(conf, pkg, replacees);
sprintf_alloc (&pkgid, "%s;%s;%s;", pkg->name, pkg->version, pkg->architecture);
- opkg_set_current_state (OPKG_STATE_INSTALLING_PKG, pkgid);
+ opkg_set_current_state (conf, OPKG_STATE_INSTALLING_PKG, pkgid);
free (pkgid);
/* this next section we do with SIGINT blocked to prevent inconsistency between opkg database and filesystem */
return err;
}
- opkg_set_current_state (OPKG_STATE_NONE, NULL);
+ opkg_set_current_state (conf, OPKG_STATE_NONE, NULL);
}
static int prerm_upgrade_old_pkg(opkg_conf_t *conf, pkg_t *pkg, pkg_t *old_pkg)