]> code.ossystems Code Review - openembedded-core.git/commitdiff
lsbinitscripts: increase ALTERNATIVE_PRIORITY
authorKang Kai <kai.kang@windriver.com>
Mon, 9 Jul 2012 02:26:59 +0000 (10:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 10:33:39 +0000 (11:33 +0100)
[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.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/lsb/lsbinitscripts_9.03.bb

index d07c4e2d52481fbb0eea4d343b9829dffaf17164..80719167824abeb7a4580448aeb3e216354413ed 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "SysV init scripts which only is used in an LSB image"
 SECTION = "base"
 LICENSE = "GPLv2"
 DEPENDS = "popt glib-2.0"
-PR = "r1"
+PR = "r2"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
 
@@ -15,7 +15,7 @@ SRC_URI[md5sum] = "668fa2762b57ef75436303857847bba3"
 SRC_URI[sha256sum] = "d56547a68ce223a7413b2676650b042125f047c8d6d139c5b970e118b3dc958a"
 inherit update-alternatives
 
-ALTERNATIVE_PRIORITY = "10"
+ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "functions"
 ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"