summaryrefslogtreecommitdiff
path: root/meta-unit-core/classes/fix-prometheus-conf-dir-ownership.bbclass
blob: cfb2a97fd4b95a37859001912503c936fd5038f5 (plain)
1
2
3
4
5
6
ROOTFS_POSTPROCESS_COMMAND:append = " fix_prometheus_conf_dir_ownership;"

fix_prometheus_conf_dir_ownership() {
    chmod 755 ${IMAGE_ROOTFS}${sysconfdir}/prometheus
    chmod 755 ${IMAGE_ROOTFS}${sysconfdir}/prometheus/targets.d
}