diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-07-09 10:26:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 11:38:02 +0100 |
commit | 7890697c8f59fad5878d5ecd644db4dbff6034f6 (patch) | |
tree | 8f130b027dbb269d05de23a000047e188788a3f5 /meta/recipes-extended | |
parent | d6170515e1222975599c0f0d9847e632faa728d2 (diff) | |
download | poky-7890697c8f59fad5878d5ecd644db4dbff6034f6.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/lsb/lsbinitscripts_9.03.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb index d07c4e2d52..8071916782 100644 --- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb +++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "SysV init scripts which only is used in an LSB image" | |||
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | DEPENDS = "popt glib-2.0" | 4 | DEPENDS = "popt glib-2.0" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" |
8 | 8 | ||
@@ -15,7 +15,7 @@ SRC_URI[md5sum] = "668fa2762b57ef75436303857847bba3" | |||
15 | SRC_URI[sha256sum] = "d56547a68ce223a7413b2676650b042125f047c8d6d139c5b970e118b3dc958a" | 15 | SRC_URI[sha256sum] = "d56547a68ce223a7413b2676650b042125f047c8d6d139c5b970e118b3dc958a" |
16 | inherit update-alternatives | 16 | inherit update-alternatives |
17 | 17 | ||
18 | ALTERNATIVE_PRIORITY = "10" | 18 | ALTERNATIVE_PRIORITY = "100" |
19 | ALTERNATIVE_${PN} = "functions" | 19 | ALTERNATIVE_${PN} = "functions" |
20 | ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions" | 20 | ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions" |
21 | 21 | ||