From 01d9d1bd6c7a17e36c42204e93317286df100ec4 Mon Sep 17 00:00:00 2001 From: Sergey Matyukevich Date: Tue, 9 Jul 2013 17:47:22 +0400 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/powertop/powertop_2.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-kernel') 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" -- cgit v1.2.3-54-g00ecf