diff mbox series

[meta-security,03/17] initscripts: UNPACKDIR fixes

Message ID 20240725090131.75860-3-mikko.rapeli@linaro.org
State New
Headers show
Series [meta-security,01/17] bastille: UNPACKDIR fixes | expand

Commit Message

Mikko Rapeli July 25, 2024, 9:01 a.m. UTC
New poky uses UNPACKDIR instead of WORKDIR

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 .../recipes-core/initscripts/initscripts_1.0.bbappend           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-hardening/recipes-core/initscripts/initscripts_1.0.bbappend b/meta-hardening/recipes-core/initscripts/initscripts_1.0.bbappend
index 92e364c..8af6979 100644
--- a/meta-hardening/recipes-core/initscripts/initscripts_1.0.bbappend
+++ b/meta-hardening/recipes-core/initscripts/initscripts_1.0.bbappend
@@ -4,5 +4,5 @@  SRC_URI:append:harden = " file://mountall.sh"
 
 do_install:append:harden() {
     install -d ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/mountall.sh ${D}${sysconfdir}/init.d
+    install -m 0755 ${UNPACKDIR}/mountall.sh ${D}${sysconfdir}/init.d
 }