summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/powertop
diff options
context:
space:
mode:
authorSergey Matyukevich <sergey_matyukevich@mentor.com>2013-07-09 17:47:22 +0400
committerSaul Wold <sgw@linux.intel.com>2013-07-12 10:12:11 -0700
commitd49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b (patch)
tree2ea9a60fa9e3e71260cec2483babe87cbda6ae74 /meta/recipes-kernel/powertop
parentf3f892cba2d4f23d6b994b907ce06badd5ad2f0c (diff)
downloadopenembedded-core-d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b.tar.gz
openembedded-core-d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b.tar.bz2
openembedded-core-d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b.zip
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@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/powertop')
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.3.bb2
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 8ee349cece..5dae1b623c 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"