aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opkg/update-alternatives-merge.inc
AgeCommit message (Collapse)Author
2010-10-21Various fixes for cp argument portabilityChris Larson
2010-03-01opkg: don't run merger in case when /usr/lib/ipkg is linkMartin Jansa
* if there is link /usr/lib/ipkg -> /usr/lib/opkg, then merger will create backups of "both" alternatives directories, but they will be both the same /usr/lib/opkg/alternatives, then it will try to merge with output that every file is the same, sofar no real harm. * Problem is after successfull merge, when it removes /usr/lib/ipkg/alternatives which is in this case the right alternatives in opkg :/ * If you've already this problem on your target then * # Restore old alternatives * rm -rf /usr/lib/opkg/alternatives * cp -ra /usr/lib/opkg/alternatives-backup /usr/lib/opkg/alternatives * * # Regenerate links with right alternatives available * opkg install -force-reinstall busybox Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-01-13opkg, update-alternatives-cworth: use /usr/lib/opkg/alternatives directory ↵Martin Jansa
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>