Message ID | 20251013124515.2362058-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/2] glibc: inherit update-rc.d | expand |
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 21f2200d19b..d4941a21a10 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 d8f20c87dd6..0aa36318193 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -5,7 +5,7 @@ DEPENDS = "virtual/cross-cc virtual/cross-binutils libgcc-initial linux-libc-hea PROVIDES = "virtual/libc" PROVIDES += "virtual/libintl virtual/libiconv" -inherit autotools texinfo systemd +inherit autotools texinfo systemd update-rc.d LEAD_SONAME = "libc.so"
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> --- meta/recipes-core/glibc/glibc-package.inc | 3 +++ meta/recipes-core/glibc/glibc.inc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)