Files
meta-security/recipes-mac/smack/smack-test_1.0.bb
Scott Murray 0272225ccd Adapt to S/UNPACKDIR changes
Remove or update S definitions as required to work with oe-core
S/UNPACKDIR changes.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2025-07-04 12:41:20 -04:00

26 lines
660 B
BlitzBasic

SUMMARY = "Smack test scripts"
DESCRIPTION = "Smack scripts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = " \
file://notroot.py \
file://smack_test_file_access.sh \
file://test_privileged_change_self_label.sh \
file://test_smack_onlycap.sh \
"
S = "${UNPACKDIR}"
inherit features_check
REQUIRED_DISTRO_FEATURES = "smack"
do_install() {
install -d ${D}${sbindir}
install -m 0755 notroot.py ${D}${sbindir}
install -m 0755 *.sh ${D}${sbindir}
}
RDEPENDS:${PN} = "smack python3-core mmap-smack-test tcp-smack-test udp-smack-test"