Opkg: how to protect configuration files?

Rod Whitby rod at whitby.id.au
Sat Sep 13 02:34:16 CEST 2008


Previdi Roberto wrote:
> When i make an update/upgrade opkg carefully protect my configuration
> files inside /etc, but he always destroy my changes in /opt/Qtopia/etc,
> causing qpe to search for documents in all the /usr (which i transferred
> on the memory card). Is there a way to tell to opkg to protect other
> directories than /etc ?

The packager of whatever package includes that file needs to set CONFFILES
to include that file.  Then opkg will ask you whether you want to overwrite
the file, or keep your old one, or drop you into a shell to do a manual merge.

-- Rod




More information about the community mailing list