diff --git a/build_files/dx/04-override-install-dx.sh b/build_files/dx/04-override-install-dx.sh index f18ba7ee020..6130805b5d1 100755 --- a/build_files/dx/04-override-install-dx.sh +++ b/build_files/dx/04-override-install-dx.sh @@ -20,4 +20,12 @@ rm -rf /tmp/monaspace-font* fc-cache -f /usr/share/fonts/monaspace fc-cache --system-only --really-force --verbose +# ls-iommu helper tool for listing devices in iommu groups (PCI Passthrough) +DOWNLOAD_URL=$(curl https://api.github.com/repos/HikariKnight/ls-iommu/releases/latest | jq -r '.assets[] | select(.name| test(".*x86_64.tar.gz$")).browser_download_url') +curl --retry 3 -Lo /tmp/ls-iommu.tar.gz "$DOWNLOAD_URL" +mkdir /tmp/ls-iommu +tar --no-same-owner --no-same-permissions --no-overwrite-dir -xvzf /tmp/ls-iommu.tar.gz -C /tmp/ls-iommu +mv /tmp/ls-iommu/ls-iommu /usr/bin/ +rm -rf /tmp/ls-iommu* + echo "::endgroup::" diff --git a/just/bluefin-system.just b/just/bluefin-system.just index 7554529b9f5..a8fdb17c92d 100644 --- a/just/bluefin-system.just +++ b/just/bluefin-system.just @@ -35,11 +35,11 @@ toggle-devmode: source /usr/lib/ujust/ujust.sh CURRENT_IMAGE=$(rpm-ostree status -b --json | jq -r '.deployments[0]."container-image-reference"') if grep -q "/var/ublue-os/image" <<< $CURRENT_IMAGE ; then - cat <