opkg, update-alternatives-cworth: use /usr/lib/opkg/alternatives directory instead...
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 8 Jan 2010 15:14:46 +0000 (16:14 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 13 Jan 2010 11:36:03 +0000 (12:36 +0100)
commitd6eb5340067ae02d3289ce6311d80a9752dbb8bc
tree72ef1ede624b1ecd1be4cc5e6df3108513308947
parent2153070fc51bbb6006c022e8836a46e2a511306f
opkg, update-alternatives-cworth: use /usr/lib/opkg/alternatives directory instead of /usr/lib/ipkg/alternatives

* It's usefull to make it compatible with u-a script in opkg package
* Old entries are merged to new directory in quite verbose postinst
  script
* If entry exists only in old it's moved
* If entry exists in both the one with more lines is used
* The one with less lines is not used and warning is shown
* If they have the same number of lines diff is checked
* If they are the same, old one is ignored
* If they are different, old one is ignored and warning is shown

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/opkg/opkg.inc
recipes/opkg/opkg_svn.bb
recipes/opkg/update-alternatives-merge.inc [new file with mode: 0644]
recipes/update-alternatives/update-alternatives-cworth.inc
recipes/update-alternatives/update-alternatives-cworth/use-opkg-dir-instead-of-ipkg.patch [new file with mode: 0644]
recipes/update-alternatives/update-alternatives-cworth_0.99.154.bb