[oe-commits] Sergey Matyukevich : powertop: fix update-alternatives link
git at git.openembedded.org
git at git.openembedded.org
Sat Jul 13 20:58:48 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b
Author: Sergey Matyukevich <sergey_matyukevich at mentor.com>
Date: Tue Jul 9 17:47:22 2013 +0400
powertop: fix update-alternatives link
In the new stable busybox_1.21.1 default location of symbolic link for
powertop has been changed: /usr/sbin instead of /bin. This update breaks
creation of alternative links when both busybox and powertop packages are
installed on the system.
Fix: modification of ALTERNATIVE_LINK_NAME in powertop recipe.
Signed-off-by: Sergey Matyukevich <sergey_matyukevich at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-kernel/powertop/powertop_2.3.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-kernel/powertop/powertop_2.3.bb b/meta/recipes-kernel/powertop/powertop_2.3.bb
index 8ee349c..5dae1b6 100644
--- a/meta/recipes-kernel/powertop/powertop_2.3.bb
+++ b/meta/recipes-kernel/powertop/powertop_2.3.bb
@@ -26,5 +26,5 @@ do_configure_prepend() {
inherit update-alternatives
ALTERNATIVE_${PN} = "powertop"
ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
-ALTERNATIVE_LINK_NAME[powertop] = "${base_bindir}/powertop"
+ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
ALTERNATIVE_PRIORITY = "100"
More information about the Openembedded-commits
mailing list