aboutsummaryrefslogtreecommitdiffstats
path: root/classes/check_security.bbclass
blob: 6d6682ea36ef67105231a24dbb0a4a0f0a34d234 (plain)
1
2
3
4
5
6
7
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;"