influxdb: inherit go-mod-update-modules

The class includes the generated -licenses.inc and -go-mods.inc files
itself and provides the update_modules task to regenerate them, so the
recipe no longer needs to require them.

AI-Generated: Uses Claude Code (Claude Fable 5.1)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk authored and Khem Raj committed 2026-09-24 10:19:02 -07:00
1 parent feb9e20431
commit 5cdaad6233
1 file changed
+1 -3
@@ -3,7 +3,6 @@ HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/"
LICENSE = "MIT AND ${GO_MOD_LICENSES}"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=f39a8d10930fb37bd59adabb3b9d0bd6"
require ${BPN}-licenses.inc
SRC_URI = "\
git://${GO_IMPORT};protocol=https;branch=1.8;destsuffix=${GO_SRCURI_DESTSUFFIX} \
@@ -12,7 +11,6 @@ SRC_URI = "\
file://influxdb \
file://influxdb.conf \
"
require ${BPN}-go-mods.inc
SRCREV = "688e697c51fd5353725da078555adbeff0363d01"
@@ -22,7 +20,7 @@ GO_INSTALL = "\
${GO_IMPORT}/cmd/influxd \
"
inherit go-mod pkgconfig systemd update-rc.d useradd
inherit go-mod go-mod-update-modules pkgconfig systemd update-rc.d useradd
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME = "influxdb"