AppImage / AppImage/AppImageKit

Problem with not relocatable lsusb and lspci binaries in the appimage built by OBS

オープン
#824 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
9.4k
フォーク
588
PR マージ指標
PR 指標を取得中

説明

Hi,

I'm trying to build an AppImage on OBS for a script that executes `lsusb`: https://build.opensuse.org/package/show/home:linuxbuild/hw-probe

I run the resulting AppImage by:

sudo ./hw-probe-0-Build48.1.glibc2.17-x86_64.AppImage -all -upload

`lsusb` trying to find `/usr/share/usb.ids` file on a host system instead of the local `usb.ids` file in the AppImage directory. But on the host system such file doesn't exist and lsusb has failed.

Why `binreloc` doesn't relocate it? I've tried both `binpatch: true` and `union: true`.

How can I fix settings to force relocating of `lsusb`?

The same issue affects `lspci`.

Thank you.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。