[OE-core] [PATCH] chkconfig: remove linuxstdbase symlinks

Peter A. Bigot pab at pabigot.com
Sat Aug 31 23:40:03 UTC 2013


In cffd1a933fese the links were moved to the lsb package because lsbsetup
was to be removed.  Subsequently an earlier patch 5283be2305b that moved
them to chkconfig was also merged.  This results in duplicate installations
that generate a warning when building core-image-lsb under DISTRO=poky-lsb
which enables the linuxstdbase feature.

Signed-off-by: Peter A. Bigot <pab at pabigot.com>
---
 meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
index c6f8b1d..4560298 100644
--- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
@@ -48,12 +48,6 @@ do_install() {
 	install -d ${D}${sysconfdir}/chkconfig.d
 }
 
-do_install_append_linuxstdbase() {
-	install -d ${D}${libdir}/lsb/
-	ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
-	ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
-}
-
 PACKAGES =+ "${PN}-alternatives ${PN}-alternatives-doc"
 SUMMARY_${PN}-alternatives = "Maintain symbolic links determining default commands"
 DESCRIPTION_${PN}-alternatives = "alternatives creates, removes, maintains and displays \
@@ -67,5 +61,3 @@ FILES_${PN}-alternatives = "${sbindir}/alternatives ${sbindir}/update-alternativ
 			    ${sysconfdir}/alternatives ${localstatedir}/lib/alternatives"
 FILES_${PN}-alternatives-doc = "${mandir}/man8/alternatives.8 \
                                 ${mandir}/man8/update-alternatives.8"
-
-FILES_${PN}_append_linuxstdbase += "${libdir}/lsb"
-- 
1.8.4




More information about the Openembedded-core mailing list