diff options
author | Sergey Matyukevich <sergey_matyukevich@mentor.com> | 2013-07-09 17:47:22 +0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-13 18:23:34 +0100 |
commit | 01d9d1bd6c7a17e36c42204e93317286df100ec4 (patch) | |
tree | c88edf39a55c2aeb0e52d21cb8b3787c06128960 /meta/recipes-kernel | |
parent | c1b0faefa5566b41a876cdf9b0882042e9973d85 (diff) | |
download | poky-01d9d1bd6c7a17e36c42204e93317286df100ec4.tar.gz |
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.
(From OE-Core rev: d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b)
Signed-off-by: Sergey Matyukevich <sergey_matyukevich@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | 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 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() { | |||
26 | inherit update-alternatives | 26 | inherit update-alternatives |
27 | ALTERNATIVE_${PN} = "powertop" | 27 | ALTERNATIVE_${PN} = "powertop" |
28 | ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" | 28 | ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" |
29 | ALTERNATIVE_LINK_NAME[powertop] = "${base_bindir}/powertop" | 29 | ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" |
30 | ALTERNATIVE_PRIORITY = "100" | 30 | ALTERNATIVE_PRIORITY = "100" |