Files
meta-security/classes/check_security.bbclass
mulhern cff02a044c meta-security: Add a new .bbclass for meta-security layer.
Inheriting the class will cause the check_security function to run on the
ROOTFS image. Currently the check_security function just invokes
buck-security-native on the root filesystem of the image.
2013-10-23 21:57:20 -04:00

8 lines
324 B
Plaintext

check_security () {
${STAGING_BINDIR_NATIVE}/buck-security -sysroot ${IMAGE_ROOTFS} -log ${T}/log.do_checksecurity.${PID} -disable-checks "checksum,firewall,packages_problematic,services,sshd,usermask" -no-sudo > /dev/null
}
EXTRA_IMAGEDEPENDS += "buck-security-native"
ROOTFS_POSTPROCESS_COMMAND += "check_security;"