Skip to contentSkip to conversation

recipes: Start WORKDIR -> UNPACKDIR transition

PATCH New [email protected] 1 participant 1 message Jun 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 recipes: Start WORKDIR -> UNPACKDIR transition

From: Wang Mingyu <[email protected]>

Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR.

---
 recipes-mac/smack/mmap-smack-test_1.0.bb                | 2 +-
 recipes-mac/smack/smack-test_1.0.bb                     | 2 +-
 recipes-mac/smack/tcp-smack-test_1.0.bb                 | 2 +-
 recipes-mac/smack/udp-smack-test_1.0.bb                 | 2 +-
 recipes-security/redhat-security/redhat-security_1.0.bb | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
recipes-mac/smack/mmap-smack-test_1.0.bb +1 -1
index 9d11509..da96032 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 SRC_URI = "file://mmap.c" 
 
-S = "${WORKDIR}"
+S = "${UNPACKDIR}"
 do_compile() {
     ${CC} mmap.c ${LDFLAGS} -o mmap_test
 }
recipes-mac/smack/smack-test_1.0.bb +1 -1
index 3ab57c6..68155ec 100644
@@ -10,7 +10,7 @@ SRC_URI = " \
            file://test_smack_onlycap.sh \
 " 
 
-S = "${WORKDIR}"
+S = "${UNPACKDIR}"
 
 inherit features_check
 
recipes-mac/smack/tcp-smack-test_1.0.bb +1 -1
index d2b3f6b..4d65b23 100644
@@ -8,7 +8,7 @@ SRC_URI = "file://tcp_server.c \
            file://test_smack_tcp_sockets.sh \
 " 
 
-S = "${WORKDIR}"
+S = "${UNPACKDIR}"
 
 do_compile() {
     ${CC} tcp_client.c ${LDFLAGS} -o tcp_client
recipes-mac/smack/udp-smack-test_1.0.bb +1 -1
index 9193f89..b277b27 100644
@@ -8,7 +8,7 @@ SRC_URI = "file://udp_server.c \
            file://test_smack_udp_sockets.sh \
 " 
 
-S = "${WORKDIR}"
+S = "${UNPACKDIR}"
 do_compile() {
     ${CC} udp_client.c ${LDFLAGS} -o udp_client
     ${CC} udp_server.c ${LDFLAGS} -o udp_server
recipes-security/redhat-security/redhat-security_1.0.bb +1 -1
index c47688f..b4f1970 100644
@@ -18,7 +18,7 @@ SRC_URI = "file://find-chroot-py.sh \
            file://selinux-check-devices.sh \
            file://selinux-ls-unconfined.sh"
 
-S = "${WORKDIR}"
+S = "${UNPACKDIR}"
 
 do_install() {
 	install -d ${D}${bindir}
Signature · 1 line
2.34.1