projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opkg: write the status change after actually updated.
[oweals/opkg-lede.git]
/
libopkg
/
opkg.c
diff --git
a/libopkg/opkg.c
b/libopkg/opkg.c
index 8841b50f40fcf53e8f5734a75a15ced90bf9f069..bb0470d0da439d34c675ea3c58e0b3b74efa1479 100644
(file)
--- a/
libopkg/opkg.c
+++ b/
libopkg/opkg.c
@@
-656,6
+656,11
@@
opkg_upgrade_package (opkg_t *opkg, const char *package_name, opkg_progress_call
err = opkg_configure_packages (opkg->conf, NULL);
if (err)
return OPKG_UNKNOWN_ERROR;
err = opkg_configure_packages (opkg->conf, NULL);
if (err)
return OPKG_UNKNOWN_ERROR;
+
+ /* write out status files and file lists */
+ opkg_conf_write_status_files (opkg->conf);
+ pkg_write_changed_filelists (opkg->conf);
+
progress (pdata, 100);
opkg_package_free (pdata.package);
return 0;
progress (pdata, 100);
opkg_package_free (pdata.package);
return 0;