mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
mmap-smack-test, smack-test, tcp-smack-test, udp-smack-test: don't use S = ${WORKDIR}
* fixes:
Parsing recipes...
ERROR: meta-security/recipes-mac/smack/mmap-smack-test_1.0.bb: Using S = ${WORKDIR} is no longer supported
ERROR: meta-security/recipes-mac/smack/tcp-smack-test_1.0.bb: Using S = ${WORKDIR} is no longer supported
ERROR: meta-security/recipes-mac/smack/udp-smack-test_1.0.bb: Using S = ${WORKDIR} is no longer supported
ERROR: meta-security/recipes-mac/smack/smack-test_1.0.bb: Using S = ${WORKDIR} is no longer supported
ERROR: Parsing halted due to errors, see error messages above
* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
* it's fatal error since:
https://git.openembedded.org/openembedded-core/commit/?h=master&id=32cba1cc916ad530c5e6630a927e74ca6f06289b
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
e4425bca52
commit
51b4468933
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
||||
|
||||
SRC_URI = "file://mmap.c"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
do_compile() {
|
||||
${CC} mmap.c ${LDFLAGS} -o mmap_test
|
||||
}
|
||||
|
||||
@@ -8,9 +8,10 @@ SRC_URI = " \
|
||||
file://smack_test_file_access.sh \
|
||||
file://test_privileged_change_self_label.sh \
|
||||
file://test_smack_onlycap.sh \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
inherit features_check
|
||||
|
||||
|
||||
@@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
||||
SRC_URI = "file://tcp_server.c \
|
||||
file://tcp_client.c \
|
||||
file://test_smack_tcp_sockets.sh \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
do_compile() {
|
||||
${CC} tcp_client.c ${LDFLAGS} -o tcp_client
|
||||
|
||||
@@ -6,9 +6,11 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
||||
SRC_URI = "file://udp_server.c \
|
||||
file://udp_client.c \
|
||||
file://test_smack_udp_sockets.sh \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
do_compile() {
|
||||
${CC} udp_client.c ${LDFLAGS} -o udp_client
|
||||
${CC} udp_server.c ${LDFLAGS} -o udp_server
|
||||
|
||||
Reference in New Issue
Block a user