Write out status files and file lists in opkg_upgrade_all().
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 22 Dec 2009 02:27:25 +0000 (02:27 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 22 Dec 2009 02:27:25 +0000 (02:27 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@510 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg.c

index fdb2fe3..705156a 100644 (file)
@@ -523,6 +523,10 @@ opkg_upgrade_all(opkg_progress_callback_t progress_callback, void *user_data)
        if (err)
                return 1;
 
+       /* write out status files and file lists */
+       opkg_conf_write_status_files();
+       pkg_write_changed_filelists();
+
        pdata.pkg = NULL;
        progress(pdata, 100);
        return 0;