mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
lsbinitscripts: increase ALTERNATIVE_PRIORITY
[YOCTO #2133] Increase ALTERNATIVE_PRIORITY of file functions to be higher than the value in package initscript. Then when lsbinitscripts installed, file functions provided by lsbinitscripts will be used. (From OE-Core rev: 33f9abed7658bd5eae39e987b210651d202e1f4e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "SysV init scripts which only is used in an LSB image"
|
|||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
DEPENDS = "popt glib-2.0"
|
DEPENDS = "popt glib-2.0"
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ SRC_URI[md5sum] = "668fa2762b57ef75436303857847bba3"
|
|||||||
SRC_URI[sha256sum] = "d56547a68ce223a7413b2676650b042125f047c8d6d139c5b970e118b3dc958a"
|
SRC_URI[sha256sum] = "d56547a68ce223a7413b2676650b042125f047c8d6d139c5b970e118b3dc958a"
|
||||||
inherit update-alternatives
|
inherit update-alternatives
|
||||||
|
|
||||||
ALTERNATIVE_PRIORITY = "10"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
ALTERNATIVE_${PN} = "functions"
|
ALTERNATIVE_${PN} = "functions"
|
||||||
ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
|
ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user