Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(linux): rpm without build-id links; stable names in release checksums

Bugfixer 229c76c7c82a9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1f4fc73ecc..0884e742e4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -501,7 +501,7 @@ jobs:
cp "release/OpenMausBot-$v-amd64.deb" release/OpenMausBot-amd64.deb
cp "release/OpenMausBot-$v-x86_64.AppImage" release/OpenMausBot.AppImage
cp "release/OpenMausBot-$v-x86_64.rpm" release/OpenMausBot-x86_64.rpm
- (cd release && sha256sum OpenMausBot-$v-amd64.deb OpenMausBot-$v-x86_64.AppImage OpenMausBot-$v-x86_64.rpm > SHA256SUMS-ubuntu-x64.txt)
+ (cd release && sha256sum OpenMausBot-$v-amd64.deb OpenMausBot-$v-x86_64.AppImage OpenMausBot-$v-x86_64.rpm OpenMausBot-amd64.deb OpenMausBot.AppImage OpenMausBot-x86_64.rpm > SHA256SUMS-ubuntu-x64.txt)
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: linux-release
diff --git a/.github/workflows/sync-published-release.yml b/.github/workflows/sync-published-release.yml
index 81c933c2de..0c083b80e1 100644
--- a/.github/workflows/sync-published-release.yml
+++ b/.github/workflows/sync-published-release.yml
@@ -6,7 +6,7 @@ on:
workflow_dispatch:
inputs:
tag:
- description: "Published canonical tag to mirror (for recovery)"
+ description: "Published canonical tag to mirror (for recovery). A tag released before the .rpm assets needs this workflow run from that tag, not main."
required: true
type: string
diff --git a/electron-builder.yml b/electron-builder.yml
index adb440f072..b6bd25e4bb 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -256,7 +256,9 @@ deb:
# step only acts on hosts that have AppArmor, so no apparmor dependency here.
rpm:
# Own the install folder as well, so removing the package leaves no empty directories.
- fpm: ["--directories", "/opt/OpenMausBot"]
+ # No /usr/lib/.build-id links: another RPM bundling the same Electron binary
+ # would own the same link paths and the install would fail with a file conflict.
+ fpm: ["--directories", "/opt/OpenMausBot", "--rpm-rpmbuild-define", "_build_id_links none"]
afterInstall: build/linux-after-install.sh
afterRemove: build/linux-after-remove.sh