Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | SUMMARY = "Smack test scripts" |
| 2 | DESCRIPTION = "Smack scripts" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 5 | |
| 6 | SRC_URI = " \ |
| 7 | file://notroot.py \ |
| 8 | file://smack_test_file_access.sh \ |
| 9 | file://test_privileged_change_self_label.sh \ |
| 10 | file://test_smack_onlycap.sh \ |
| 11 | " |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
Brad Bishop | a48c014 | 2020-01-06 09:48:41 -0500 | [diff] [blame] | 15 | inherit features_check |
| 16 | |
| 17 | REQUIRED_DISTRO_FEATURES = "smack" |
| 18 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 19 | do_install() { |
| 20 | install -d ${D}${sbindir} |
| 21 | install -m 0755 notroot.py ${D}${sbindir} |
| 22 | install -m 0755 *.sh ${D}${sbindir} |
| 23 | } |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | RDEPENDS:${PN} = "smack python mmap-smack-test tcp-smack-test udp-smack-test" |