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 <[email protected]>
---
 meta/recipes-core/glibc/glibc-package.inc | 3 +++
 meta/recipes-core/glibc/glibc.inc         | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

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"
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240500): 
https://lists.openembedded.org/g/openembedded-core/message/240500
Mute This Topic: https://lists.openembedded.org/mt/120177355/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to