Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport mickledore] Fix wrong Source Uri and other warnings in zram-init and telegraf #92

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion recipes-devtools/telegraf/telegraf_1.14.5.bb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/influxdata/telegraf"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/src/${GO_IMPORT}/LICENSE;md5=4c87a94f9ef84eb3e8c5f0424fef3b9e"

SRC_URI = "https://github.com/influxdata/telegraf;branch=release-1.14"
SRC_URI = "git://github.com/influxdata/telegraf;protocol=https;branch=release-1.14"
SRCREV = "e77ce3d11d2b3d2f66e85921142d4927752054b2"

inherit go-mod systemd
Expand All @@ -16,6 +16,8 @@ GO_INSTALL = "github.com/influxdata/telegraf/cmd/telegraf"

SYSTEMD_SERVICE:${PN} = "${PN}.service"

do_compile[network] = "1"

do_install:append() {
# FIXME: This has mixed architecture files and causes errors during
# packaging
Expand Down
4 changes: 2 additions & 2 deletions recipes-extended/zram-init/zram-init_git.bb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
SUMMARY = "A wrapper script for the zram kernel module with interactive and init support"
LICENSE = "GPLv2"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${S}/README.md;beginline=5;endline=7;md5=1c6f4971407e5a5b1aa502b9badcdf98"

inherit update-rc.d systemd

SRC_URI = "https://github.com/vaeth/zram-init;branch=main"
SRC_URI = "git://github.com/vaeth/zram-init;protocol=https;branch=main"
SRCREV = "703f63bd3e595b9b357d74c58db1370b40af250d"

S = "${WORKDIR}/git"
Expand Down
Loading