diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index aa6094a25c..a3926b6425 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,29 @@ +- commits: + - subject: "patch: etcher-util is corrupted in RPM package" + hash: e43ee788ec5ec49e105ff804206919bb10a59ea7 + body: | + rpmbuild strips executables by default when generating an rpm packge. + This was causing the JavaScript code bundled in the etcher-util file + to be removed, causing "Pkg: Error reading from file." whenever + etcher-util was called. + + This in turn caused balena-etcher to generate the error message + `Error: (0, h.requestMetadata) is not a function` when attempting + to write an SD card. + + This fixes the issue for RPM builds by replacing the `strip` command + with `true` so that rpmbuild no longer strips the executables and + the embeded code stays intact. + + See: https://github.com/balena-io/etcher/issues/4150 + footer: + Signed-off-by: Richard Glidden + signed-off-by: Richard Glidden + author: Richard Glidden + nested: [] + version: 1.19.24 + title: "" + date: 2024-10-09T14:22:56.623Z - commits: - subject: "patch: remove gconf2 libgconf-2-4 deps" hash: 2ed779ef371db367e4e413c9d0d08fcd738edb5b diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e81317a85..45ee83d8d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +# v1.19.24 +## (2024-10-09) + +* patch: etcher-util is corrupted in RPM package [Richard Glidden] + # v1.19.23 ## (2024-10-09) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index be2bdafcde..5fe5214c37 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "balena-etcher", - "version": "1.19.23", + "version": "1.19.24", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "balena-etcher", - "version": "1.19.23", + "version": "1.19.24", "license": "Apache-2.0", "dependencies": { "@electron/remote": "^2.1.2", diff --git a/package.json b/package.json index 48bc3daefc..e03f3e249f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "displayName": "balenaEtcher", "productName": "balenaEtcher", - "version": "1.19.23", + "version": "1.19.24", "packageType": "local", "main": ".webpack/main", "description": "Flash OS images to SD cards and USB drives, safely and easily.", @@ -144,7 +144,7 @@ "node": ">=20 <21" }, "versionist": { - "publishedAt": "2024-10-09T13:52:55.406Z" + "publishedAt": "2024-10-09T14:22:57.084Z" }, "optionalDependencies": { "bufferutil": "^4.0.8",