Skip to content

Commit

Permalink
fix: sysext-finalize: create proper os-release file
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Aug 31, 2024
1 parent e89ed58 commit 3074a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finalize-plugins/sysext.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3074a46

Please sign in to comment.