Skip archiving hwi-qt on non-x86 platforms
What changed, and why it matters
This change adjusts the build script so that the graphical hwi-qt program is only bundled into release archives for 64-bit x86 (Intel/AMD) systems. On other CPU architectures, only the command-line hwi tool is packaged. This is a build/packaging convenience fix, not a security patch.
No security action needed. Treat as a normal build-maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In contrib/build_bin.sh, the condition for including hwi-qt in the release tarball was narrowed from ‘gui support requested’ to ‘gui support requested AND architecture is x86_64’. On non-x86 platforms, the archive now contains only hwi. There is no code change to the application itself, no privilege boundary, no input handling, and no cryptographic change.
Changed components
contrib/build_bin.sh release packaging scriptInspect captured patch +1 / −1
diff --git a/contrib/build_bin.sh b/contrib/build_bin.sh
index 48f9a6d..af8c233 100755
--- a/contrib/build_bin.sh
+++ b/contrib/build_bin.sh
@@ -48,7 +48,7 @@ fi
target_tarfile="hwi-${VERSION}-${OS}-${ARCH}.tar.gz"
-if [[ $gui_support == "--with-gui" ]]; then
+if [[ $gui_support == "--with-gui" && $ARCH == "x86_64" ]]; then
tar -czf $target_tarfile hwi hwi-qt
else
tar -czf $target_tarfile hwi
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.