From 3074a4664f38e1b10456a985c014c8f3e6df24ca Mon Sep 17 00:00:00 2001 From: axtloss Date: Sat, 31 Aug 2024 19:06:21 +0200 Subject: [PATCH] fix: sysext-finalize: create proper os-release file --- finalize-plugins/sysext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finalize-plugins/sysext.go b/finalize-plugins/sysext.go index e972ff5..5b4d0c2 100644 --- a/finalize-plugins/sysext.go +++ b/finalize-plugins/sysext.go @@ -51,7 +51,7 @@ func FinalizeBuild(moduleInterface *C.char, extraData *C.char) *C.char { var extensionRelease strings.Builder fmt.Fprintf(&extensionRelease, "ID=%s\n", module.OSReleaseID) - fmt.Fprintf(&extensionRelease, "VersionID=%s\n", module.OSReleaseVersionID) + fmt.Fprintf(&extensionRelease, "VERSION_ID=%s\n", module.OSReleaseVersionID) err = os.MkdirAll(filepath.Join(data.FS, "usr/lib/extension-release.d"), 0o777) if err != nil {