r4545 - trunk/src/target/opkg/libopkg

tick at docs.openmoko.org tick at docs.openmoko.org
Mon Jul 21 11:10:17 CEST 2008


Author: tick
Date: 2008-07-21 11:10:16 +0200 (Mon, 21 Jul 2008)
New Revision: 4545

Modified:
   trunk/src/target/opkg/libopkg/opkg.c
Log:
opkg: write the status change after actually updated. 


Modified: trunk/src/target/opkg/libopkg/opkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg.c	2008-07-20 20:34:37 UTC (rev 4544)
+++ trunk/src/target/opkg/libopkg/opkg.c	2008-07-21 09:10:16 UTC (rev 4545)
@@ -656,6 +656,11 @@
   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;





More information about the commitlog mailing list