* imported qemu/hotfix-glibc-2.41.patch
[t2sde.git] / package / network / prometheus / prometheus.conf
blobcf864f81b1bf39f6c33700580a2fcfb6afe0f0d1
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/prometheus/prometheus.conf
3 # Copyright (C) 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 export CGO_ENABLED=1
14 var_remove GCC_WRAPPER_REMOVE ' ' "-gdwarf*"
16 var_append goconfopt ' ' '-tags netgo ./cmd/prometheus'
17 hook_add postmake 5 'prometheus_postmake'
19 prometheus_postmake() {
20         mkdir -pv $root$sysconfdir/prometheus
22         install prometheus $root$bindir
23         install -Dm644 documentation/examples/prometheus.yml $root$sysconfdir/prometheus/