For completeness, here is a snippet of the snapcraft.yaml file I'm
using. I tried using layouts without success. I'm running a laptop with
an AMD GPU. The file amdgpu.ids exists on the host system.
confinement: devmode
base: core24
parts:
myapp:
plugin: rust
source: .
build-environment:
- RUSTUP_TOOLCHAIN: stable
build-packages:
- libpango1.0-dev
- libcairo2-dev
- libglib2.0-dev
- libssl-dev
- pkg-config
stage-packages:
- glib-networking
# - libdrm-common // no difference
# - libdrm2 // no difference
apps:
myapp:
environment:
// ...
command: bin/myapp
extensions: [gnome]
plugs:
- network
- wayland
- x11
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951666
Title:
/usr/share/libdrm/amdgpu.ids: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951666/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs