Closed GoogleCodeExporter closed 8 years ago
I cannot reproduce the problem you are experiencing. Perhaps it has been
fixed...
Backups of the conf files are made if they already exist at install time. Once
the new conf files are installed, an md5sum of
each of the backup conf files and new conf files is made. These are compared to
determine if a conf file has changed.
Opkg conffile handling is a mess (like everything else :)). The PKG.conffiles
are not used. It looks like they are just
implicitly installed from extracting the control.tar.gz file info
/usr/lib/opkg/info/ - this is done via opkg_install.c:
install_maintainer_scripts().
The conffile information itself is read from the file "conffile" within the
control.tar.gz. The conffile_list data structure is
populated in opkg_install.c: unpack_pkg_control_files().
Conffile md5sums are actually written out by opkg, into the status file.
Unfortunately, the format they are written out in is
not accepted by the parser. I can fix this - but I'm not really sure whether
its worth it, as the info is unused anyway...
Original comment by graham.g...@gmail.com
on 12 Nov 2009 at 3:35
Original issue reported on code.google.com by
TTA...@gmail.com
on 17 Jul 2009 at 5:28Attachments: