summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-07-11 11:37:12 +0800
committerArmin Kuster <akuster808@gmail.com>2024-07-29 20:07:01 -0400
commit6880ab150e1d09d7de6763453db95d1a832fbabd (patch)
treefd3a65eeaf6d9696331e6ad1d8c2b71f667a746d
parent61f2428158c9900d611237fc1f3741f26e9665f8 (diff)
downloadmeta-security-6880ab150e1d09d7de6763453db95d1a832fbabd.tar.gz
trousers: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm1/trousers/trousers_git.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-tpm/recipes-tpm1/trousers/trousers_git.bb b/meta-tpm/recipes-tpm1/trousers/trousers_git.bb
index 192c66c..44a4ee6 100644
--- a/meta-tpm/recipes-tpm1/trousers/trousers_git.bb
+++ b/meta-tpm/recipes-tpm1/trousers/trousers_git.bb
@@ -32,13 +32,13 @@ do_install () {
32 32
33do_install:append() { 33do_install:append() {
34 install -d ${D}${sysconfdir}/init.d 34 install -d ${D}${sysconfdir}/init.d
35 install -m 0755 ${WORKDIR}/trousers.init.sh ${D}${sysconfdir}/init.d/trousers 35 install -m 0755 ${UNPACKDIR}/trousers.init.sh ${D}${sysconfdir}/init.d/trousers
36 install -d ${D}${sysconfdir}/udev/rules.d 36 install -d ${D}${sysconfdir}/udev/rules.d
37 install -m 0644 ${WORKDIR}/trousers-udev.rules ${D}${sysconfdir}/udev/rules.d/45-trousers.rules 37 install -m 0644 ${UNPACKDIR}/trousers-udev.rules ${D}${sysconfdir}/udev/rules.d/45-trousers.rules
38 38
39 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 39 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
40 install -d ${D}${systemd_unitdir}/system 40 install -d ${D}${systemd_unitdir}/system
41 install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/ 41 install -m 0644 ${UNPACKDIR}/tcsd.service ${D}${systemd_unitdir}/system/
42 sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service 42 sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service
43 fi 43 fi
44} 44}