AppImage / AppImage/AppImageKit

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

Aperta
#824 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
9.4k
Fork
588
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.