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>
This commit is contained in:
parent
c1b0faefa5
commit
01d9d1bd6c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue