diff options
Diffstat (limited to 'meta-unit-core/classes')
| -rw-r--r-- | meta-unit-core/classes/fix-prometheus-conf-dir-ownership.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-unit-core/classes/fix-prometheus-conf-dir-ownership.bbclass b/meta-unit-core/classes/fix-prometheus-conf-dir-ownership.bbclass new file mode 100644 index 0000000..cfb2a97 --- /dev/null +++ b/meta-unit-core/classes/fix-prometheus-conf-dir-ownership.bbclass @@ -0,0 +1,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 +} |
