AppImage / AppImage/AppImageKit

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

Open
#824 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
9.4k
Forks
588
PR merge metrics
PR metrics pending

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.