summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-30 14:23:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-02 15:15:51 +0100
commit0ea63b6a439fe97f840c69d08cf381687baaae3f (patch)
treec632ba15d6b67617859f335fe9263930cbf1a0fa /meta/recipes-connectivity/nfs-utils
parent3288587aeb009fb65652776242c0a526b90771e2 (diff)
downloadpoky-0ea63b6a439fe97f840c69d08cf381687baaae3f.tar.gz
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
index 2f2644f9a8..af7a74a5fb 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.4.bb
@@ -122,22 +122,22 @@ HIGH_RLIMIT_NOFILE ??= "4096"
122 122
123do_install:append () { 123do_install:append () {
124 install -d ${D}${sysconfdir}/init.d 124 install -d ${D}${sysconfdir}/init.d
125 install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver 125 install -m 0755 ${UNPACKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
126 install -m 0755 ${WORKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon 126 install -m 0755 ${UNPACKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon
127 127
128 install -m 0755 ${WORKDIR}/nfs-utils.conf ${D}${sysconfdir} 128 install -m 0755 ${UNPACKDIR}/nfs-utils.conf ${D}${sysconfdir}
129 install -m 0755 ${S}/utils/mount/nfsmount.conf ${D}${sysconfdir} 129 install -m 0755 ${S}/utils/mount/nfsmount.conf ${D}${sysconfdir}
130 130
131 install -d ${D}${systemd_system_unitdir} 131 install -d ${D}${systemd_system_unitdir}
132 install -m 0644 ${WORKDIR}/nfs-server.service ${D}${systemd_system_unitdir}/ 132 install -m 0644 ${UNPACKDIR}/nfs-server.service ${D}${systemd_system_unitdir}/
133 install -m 0644 ${WORKDIR}/nfs-mountd.service ${D}${systemd_system_unitdir}/ 133 install -m 0644 ${UNPACKDIR}/nfs-mountd.service ${D}${systemd_system_unitdir}/
134 install -m 0644 ${WORKDIR}/nfs-statd.service ${D}${systemd_system_unitdir}/ 134 install -m 0644 ${UNPACKDIR}/nfs-statd.service ${D}${systemd_system_unitdir}/
135 sed -i -e 's,@SBINDIR@,${sbindir},g' \ 135 sed -i -e 's,@SBINDIR@,${sbindir},g' \
136 -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 136 -e 's,@SYSCONFDIR@,${sysconfdir},g' \
137 -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \ 137 -e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \
138 ${D}${systemd_system_unitdir}/*.service 138 ${D}${systemd_system_unitdir}/*.service
139 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 139 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
140 install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/ 140 install -m 0644 ${UNPACKDIR}/proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/
141 install -d ${D}${systemd_system_unitdir}/sysinit.target.wants/ 141 install -d ${D}${systemd_system_unitdir}/sysinit.target.wants/
142 ln -sf ../proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/proc-fs-nfsd.mount 142 ln -sf ../proc-fs-nfsd.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/proc-fs-nfsd.mount
143 fi 143 fi