From: Ross Burton Date: Wed, 8 Jul 2026 17:36:48 +0000 (+0100) Subject: glibc: inherit update-rc.d X-Git-Tag: yocto-6.1_M2~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55bf6734b3a0c36aa71c4a597380aabe837f2bbc;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git glibc: inherit update-rc.d The nscd package has an init script, so we should be inheriting the update-rc.d class like we inherit the the systemd class. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 21f2200d19..d4941a21a1 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc @@ -297,3 +297,6 @@ CONFFILES:nscd = "${sysconfdir}/nscd.conf" SYSTEMD_PACKAGES = "nscd" SYSTEMD_SERVICE:nscd = "nscd.service" + +INITSCRIPT_PACKAGES = "nscd" +INITSCRIPT_NAME = "nscd" diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 3bb935e223..7403eb845a 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -9,7 +9,7 @@ HASHEQUIV_HASH_VERSION .= ".1" PROVIDES = "virtual/libc" PROVIDES += "virtual/libintl virtual/libiconv" -inherit autotools texinfo systemd +inherit autotools texinfo systemd update-rc.d LEAD_SONAME = "libc.so"