AppImage / AppImage/AppImageKit

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

Đang mở
#824 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9.4k
Fork
588
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.