Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame^] | 1 | SUMMARY = "IMA sample simple policy" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 4 | |
| 5 | # This policy file will get installed as /etc/ima/ima-policy. |
| 6 | # It is located via the normal file search path, so a .bbappend |
| 7 | # to this recipe can just point towards one of its own files. |
| 8 | IMA_POLICY ?= "ima_policy_simple" |
| 9 | |
| 10 | SRC_URI = " file://${IMA_POLICY}" |
| 11 | |
| 12 | do_install () { |
| 13 | install -d ${D}/${sysconfdir}/ima |
| 14 | install ${WORKDIR}/${IMA_POLICY} ${D}/${sysconfdir}/ima/ima-policy |
| 15 | } |
| 16 | |
| 17 | FILES_${PN} = "${sysconfdir}/ima" |
| 18 | RDEPENDS_${PN} = "ima-evm-utils" |