From 7abb95e1a4b84c4535f41ffb6636fede823bc7d2 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 9 Oct 2024 19:24:28 +0000 Subject: gluster-fs: WORKDIR -> UNPACKDIR transition Sources are now found in UNPACKDIR, so we need to adjust the do_install of glusterfs appropriately. Signed-off-by: Bruce Ashfield --- recipes-extended/glusterfs/glusterfs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc index c5f21c7..305727e 100644 --- a/recipes-extended/glusterfs/glusterfs.inc +++ b/recipes-extended/glusterfs/glusterfs.inc @@ -69,7 +69,7 @@ PACKAGECONFIG[tcmalloc] = ",--without-tcmalloc,," do_install:append() { install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/glusterd.init \ + install -m 0755 ${UNPACKDIR}/glusterd.init \ ${D}${sysconfdir}/init.d/glusterd if ! ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then @@ -90,7 +90,7 @@ EOF # Install systemd service files install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/glusterd.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/glusterd.service ${D}${systemd_system_unitdir} sed -i -e 's#@SBINDIR@#${sbindir}#g' \ -e 's#@base_bindir@#${base_bindir}#g' \ -e 's#@localstatedir@#${localstatedir}#g' \ -- cgit v1.2.3-54-g00ecf