[oe] [PATCH 3/3] base-files-3.0.14 configuration files

Peter Gsellmann pgsellmann at portner-elektronik.at
Thu Mar 17 15:54:31 UTC 2011


Am Donnerstag, 17. März 2011, 13:53:27 schrieb Hauser, Wolfgang (external):
> > Mark some files in ${sysconfdir} as configuration files so they are
> not blindly overwritten when upgrading
> 
> I would suggest a pre-/post processing in the packages, like debian
> does.
> If a config file exists or is changed, the current File will be rotated
> or, if possible, left as it is and the new 
> file is installed beside the changed one.

The opkg does not touch a present config file, but installs the new file with the name *-opkg
So if you do a find /etc -name \*-opkg you see the conflicts.

Any sensible conversion from old to new config file should be made by the package itself.




More information about the Openembedded-devel mailing list