Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Meta PyPCC
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
Meta PyPCC
Commits
c1925c1c
Commit
c1925c1c
authored
3 weeks ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Add node-exporter
parent
cef333bf
No related branches found
No related tags found
No related merge requests found
Pipeline
#121936
skipped
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
kas-pypcc-rpi.yml
+1
-1
1 addition, 1 deletion
kas-pypcc-rpi.yml
recipes/node-exporter_1.9.1.bb
+26
-0
26 additions, 0 deletions
recipes/node-exporter_1.9.1.bb
with
27 additions
and
1 deletion
kas-pypcc-rpi.yml
+
1
−
1
View file @
c1925c1c
...
...
@@ -86,7 +86,7 @@ local_conf_header:
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
IMAGE_INSTALL:append = "ntp python3-pypcc python3-halibut-ipconfig vcgencmd dtc i2c-tools swupdate swupdate-www libgpiod libgpiod-tools libgpiod-dev kernel-module-i2c-gpio"
IMAGE_INSTALL:append = "
node-exporter
ntp python3-pypcc python3-halibut-ipconfig vcgencmd dtc i2c-tools swupdate swupdate-www libgpiod libgpiod-tools libgpiod-dev kernel-module-i2c-gpio"
IMAGE_FSTYPES = "tar.bz2 ext4 ext4.gz wic.bz2 wic.bmap"
SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".ubifs"
IMAGE_BOOT_FILES:append = "halibut.dtbo;overlays/halibut.dtbo"
...
...
This diff is collapsed.
Click to expand it.
recipes/node-exporter_1.9.1.bb
0 → 100644
+
26
−
0
View file @
c1925c1c
SUMMARY = "Prometheus Node Exporter - hardware and OS metrics exporter"
HOMEPAGE = "https://github.com/prometheus/node_exporter"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/${GO_INSTALL}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI = "git://github.com/prometheus/node_exporter.git;branch=release-1.8;protocol=https"
SRCREV = "f1e0e8360aa60b6cb5e5cc1560bed348fc2c1895"
PV = "1.8.2"
GO_IMPORT = "github.com/prometheus/node_exporter"
GO_INSTALL = "src/${GO_IMPORT}/"
inherit go go-mod
export GO111MODULE = "on"
export GOPROXY = "https://proxy.golang.org"
FILES:${PN} += "\
${systemd_unitdir}/system/*.service \
"
do_install() {
install -Dm755 bin/linux_arm64/node_exporter ${D}${bindir}/node_exporter
install -Dm644 ${S}/${GO_INSTALL}/examples/systemd/node_exporter.service ${D}${systemd_unitdir}/system/node_exporter.service
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment