Skip to content

test(appimage): FHS lanes check OBS loads the host's libnvidia-ml.so.1 (follow-up of #1028) #1970

Closed

Description

@zackees

Follow-up of #1028: the NixOS lane checks NVML from /run/opengl-driver/lib through build-aux/appimage/fake-nvml.c. Do the same for the bare libnvidia-ml.so.1 in test-appimage.sh first-start (Debian/Fedora/Arch): build fake-nvml.c in appimage.yaml's test-helper step, install it in the host lib dir, assert the OBS_TEST_NVML_MARKER path; RED by removing it.

Activity

  1. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Claiming: #1970. One PR, stacked on #1971 (it reuses fake-nvml.c): build the stand-in in the test-helper step, install it in each image's host lib dir in first-start, and assert the marker path and /proc/<obs>/maps. Local RED/GREEN in debian:trixie-slim against the released AppImage.

  2. added
    claimed
    on Oct 23, 2026
  3. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Claiming: #1970.

    1. RED: test-appimage.sh first-start on the FHS lanes (Debian/Fedora/Arch) asserts the OBS_TEST_NVML_MARKER written by fake-nvml.c from the host lib dir; fails while the fake isn't built/installed there.
    2. GREEN: build fake-nvml.c in appimage.yaml's existing test-helper step and install it as the host's libnvidia-ml.so.1, mirroring the NixOS lane (test: Sandbox smoke for GPU utilization sources (AppImage, Flatpak, Nix) #1028). No new workflow files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions