From edfb84e58d9998a8e4d44ebb4b8756e48473d4d3 Mon Sep 17 00:00:00 2001 From: gmpinder Date: Sun, 4 Jun 2023 10:49:52 -0400 Subject: [PATCH] Copy the correct files for xboxdrv --- Containerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 306912f..74ca45d 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,7 @@ ARG FEDORA_MAJOR_VERSION=38 ARG BASE_IMAGE_URL=ghcr.io/ublue-os/silverblue-main # This is to install xboxdrv for the Xbox 360 controller. -FROM registry.fedoraproject.org/fedora:${FEDORA_MAJOR_VERSION} as xboxdrv-bin +FROM registry.fedoraproject.org/fedora-toolbox:${FEDORA_MAJOR_VERSION} as xboxdrv-bin COPY scripts/install-xboxdrv.sh /tmp/scripts/install-xboxdrv.sh @@ -41,7 +41,10 @@ COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq # Install cosign for verifying signatures for images. COPY --from=gcr.io/projectsigstore/cosign /ko-app/cosign /usr/bin/cosign -COPY --from=xboxdrv-bin /usr/bin/xboxdrv /usr/bin/xboxdrv +# Install xboxdrv for the Xbox 360 controller. +COPY --from=xboxdrv-bin /usr/local/bin/xboxdrv /usr/local/bin/xboxdrv +COPY --from=xboxdrv-bin /usr/local/bin/xboxdrvctl /usr/local/bin/xboxdrvctl +COPY --from=xboxdrv-bin /usr/local/share/man/man1/xboxdrv.1 /usr/local/share/man/man1/xboxdrv.1 # Copy the build script and all custom scripts. COPY scripts /tmp/scripts