Skip to content

Commit

Permalink
fix: Stop setting build id links for rpm packages (#2421)
Browse files Browse the repository at this point in the history
* rpmbuild generates build_id links by default, which are debugging symbols for binaries included in a package. This causes problems between Electron applications which share the same Electron binary, as the debugging symbols conflict with each other.
* See also : https://github.com/rpm-software-management/rpm/blob/rpm-4.18.x/macros.in#L470
  • Loading branch information
stopal authored May 30, 2022
1 parent 8594315 commit 80daf9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
},
"artifactName": "rocketchat-${version}-${os}-${arch}.${ext}"
},
"rpm": {
"fpm": ["--rpm-rpmbuild-define=_build_id_links none"]
},
"snap": {
"plugs": [
"desktop",
Expand Down

0 comments on commit 80daf9f

Please sign in to comment.