]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
glibc: inherit update-rc.d
authorRoss Burton <ross.burton@arm.com>
Wed, 8 Jul 2026 17:36:48 +0000 (18:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2026 10:17:14 +0000 (11:17 +0100)
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 <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-package.inc
meta/recipes-core/glibc/glibc.inc

index 21f2200d19bc8b68e36460c98c41dd17226bd35e..d4941a21a1010bdb8321f7e3c2647f6fd1c7158e 100644 (file)
@@ -297,3 +297,6 @@ CONFFILES:nscd = "${sysconfdir}/nscd.conf"
 
 SYSTEMD_PACKAGES = "nscd"
 SYSTEMD_SERVICE:nscd = "nscd.service"
+
+INITSCRIPT_PACKAGES = "nscd"
+INITSCRIPT_NAME = "nscd"
index 3bb935e223008ab95554b6762dec96e6cf75cc9b..7403eb845ab79a13bfc66e187f045b7e5413bdb8 100644 (file)
@@ -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"