AppImage / AppImage/AppImageKit

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

Offen
#824 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
9.4k
Forks
588
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.