Skip to content

Commit 1b3cdd7

Browse files
authored
Merge pull request #107 from ublue-os/main
[pull] main from ublue-os:main
2 parents bed155b + e80d449 commit 1b3cdd7

File tree

18 files changed

+87
-777
lines changed

18 files changed

+87
-777
lines changed

.github/workflows/build.yml

+25-18
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
is_latest_version: true
7272
is_stable_version: true
7373
kernel_flavor: bazzite # must match a kernel_flavor from akmods repo
74-
kernel_version: 6.13.5-102.bazzite.fc41.x86_64 # must match a cached version of the above flavor
74+
kernel_version: 6.13.6-102.bazzite.fc41.x86_64 # must match a cached version of the above flavor
7575
exclude:
7676
- base_name: bazzite-deck-nvidia
7777
- base_name: bazzite
@@ -212,7 +212,7 @@ jobs:
212212
sudo podman pull ${{ env.PULL_IMAGE_REGISTRY }}/akmods-${{ matrix.target_nvidia_flavor }}:${{ matrix.kernel_flavor}}-${{ matrix.fedora_version }}-${{ matrix.kernel_version }}
213213
214214
# Add rechunk as well to remove this source of failure
215-
sudo podman pull ghcr.io/hhd-dev/rechunk:v1.1.3
215+
sudo podman pull ghcr.io/hhd-dev/rechunk:v1.2.1
216216
217217
- name: Get source versions
218218
id: labels
@@ -264,26 +264,33 @@ jobs:
264264
echo "Generated the following:"
265265
cat $GITHUB_OUTPUT
266266
267+
# Generate a file with all the build-args passed to buildah
268+
- name: Prepare build args file
269+
run: |
270+
cat <<'EOF' >>build_args.txt
271+
IMAGE_NAME=${{ env.IMAGE_NAME }}
272+
IMAGE_FLAVOR=${{ env.IMAGE_FLAVOR }}
273+
NVIDIA_FLAVOR=${{ matrix.target_nvidia_flavor }}
274+
NVIDIA_BASE=${{ env.NVIDIA_BASE }}
275+
IMAGE_VENDOR=${{ github.repository_owner }}
276+
BASE_IMAGE_NAME=${{ matrix.base_image_name }}
277+
BASE_IMAGE_FLAVOR=${{ matrix.base_image_flavor }}
278+
FEDORA_VERSION=${{ matrix.fedora_version }}
279+
KERNEL_FLAVOR=${{ matrix.kernel_flavor }}
280+
KERNEL_VERSION=${{ matrix.kernel_version }}
281+
IMAGE_BRANCH=${{ github.ref_name }}
282+
SHA_HEAD_SHORT=${{ env.SHA_HEAD_SHORT }}
283+
VERSION_TAG=${{ steps.generate-version.outputs.tag }}
284+
VERSION_PRETTY=${{ steps.generate-version.outputs.pretty }}
285+
EOF
286+
267287
# Build image using buildah and save it to raw-img
268288
- name: Build Image
269289
id: build_image
270290
run: |
271291
sudo buildah build \
272292
--target ${{ env.CONTAINER_TARGET }} \
273-
--build-arg IMAGE_NAME=${{ env.IMAGE_NAME }} \
274-
--build-arg IMAGE_FLAVOR=${{ env.IMAGE_FLAVOR }} \
275-
--build-arg NVIDIA_FLAVOR=${{ matrix.target_nvidia_flavor }} \
276-
--build-arg NVIDIA_BASE=${{ env.NVIDIA_BASE }} \
277-
--build-arg IMAGE_VENDOR=${{ github.repository_owner }} \
278-
--build-arg BASE_IMAGE_NAME=${{ matrix.base_image_name }} \
279-
--build-arg BASE_IMAGE_FLAVOR=${{ matrix.base_image_flavor }} \
280-
--build-arg FEDORA_VERSION=${{ matrix.fedora_version }} \
281-
--build-arg KERNEL_FLAVOR=${{ matrix.kernel_flavor }} \
282-
--build-arg KERNEL_VERSION=${{ matrix.kernel_version }} \
283-
--build-arg IMAGE_BRANCH=${{ github.ref_name }} \
284-
--build-arg SHA_HEAD_SHORT=${{ env.SHA_HEAD_SHORT }} \
285-
--build-arg VERSION_TAG=${{ steps.generate-version.outputs.tag }} \
286-
--build-arg VERSION_PRETTY="${{ steps.generate-version.outputs.pretty }}" \
293+
--build-arg-file build_args.txt \
287294
--tag raw-img .
288295
289296
- name: Remove auxiliary images
@@ -332,9 +339,9 @@ jobs:
332339
# Reprocess raw-img using rechunker which will delete it
333340
- name: Run Rechunker
334341
id: rechunk
335-
uses: hhd-dev/rechunk@v1.1.3
342+
uses: hhd-dev/rechunk@v1.2.1
336343
with:
337-
rechunk: 'ghcr.io/hhd-dev/rechunk:v1.1.3'
344+
rechunk: 'ghcr.io/hhd-dev/rechunk:v1.2.1'
338345
ref: 'raw-img'
339346
prev-ref: '${{ steps.generate-prev-ref.outputs.ref }}'
340347
version: '${{ steps.generate-version.outputs.tag }}'

Containerfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
132132
--mount=type=bind,from=ctx,source=/,target=/ctx \
133133
--mount=type=tmpfs,dst=/tmp \
134134
/ctx/install-kernel-akmods && \
135+
for toswap in linux-firmware netronome-firmware libertas-firmware atheros-firmware realtek-firmware tiwilink-firmware cirrus-audio-firmware linux-firmware-whence iwlwifi-dvm-firmware iwlwifi-mvm-firmware amd-ucode-firmware qcom-firmware mt7xxx-firmware liquidio-firmware nxpwireless-firmware intel-vsc-firmware nvidia-gpu-firmware intel-audio-firmware amd-gpu-firmware iwlegacy-firmware intel-gpu-firmware mlxsw_spectrum-firmware qed-firmware mrvlprestera-firmware brcmfmac-firmware dvb-firmware; do \
136+
dnf5 -y swap --repo copr:copr.fedorainfracloud.org:kylegospo:bazzite $toswap $toswap; \
137+
done && unset -v toswap && \
135138
dnf5 -y config-manager setopt "*rpmfusion*".enabled=0 && \
136139
dnf5 -y copr enable bieszczaders/kernel-cachyos-addons && \
137140
dnf5 -y install \
@@ -209,7 +212,6 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
209212
mesa-libEGL \
210213
mesa-libGL \
211214
mesa-libgbm \
212-
mesa-libglapi \
213215
mesa-va-drivers \
214216
mesa-vulkan-drivers \
215217
fwupd \
@@ -336,6 +338,11 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
336338
tar --no-same-owner --no-same-permissions --no-overwrite-dir -xvzf /tmp/ls-iommu.tar.gz -C /tmp/ls-iommu && \
337339
rm -f /tmp/ls-iommu.tar.gz && \
338340
cp -r /tmp/ls-iommu/ls-iommu /usr/bin/ && \
341+
curl -Lo /tmp/scopebuddy.tar.gz https://github.com/HikariKnight/ScopeBuddy/archive/refs/tags/$(curl https://api.github.com/repos/HikariKnight/scopebuddy/releases/latest | jq -r '.tag_name').tar.gz && \
342+
mkdir -p /tmp/scopebuddy && \
343+
tar --no-same-owner --no-same-permissions --no-overwrite-dir -xvzf /tmp/scopebuddy.tar.gz -C /tmp/scopebuddy && \
344+
rm -f /tmp/scopebuddy.tar.gz && \
345+
cp -r /tmp/scopebuddy/ScopeBuddy-*/bin/* /usr/bin/ && \
339346
/ctx/cleanup
340347

341348
# Install Steam & Lutris, plus supporting packages

build_files/install-kernel-akmods

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ dnf5 -y install \
1616

1717
dnf5 versionlock add kernel kernel-devel kernel-devel-matched kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-uki-virt
1818

19-
shopt -s nullglob
2019
dnf5 -y install \
2120
/tmp/akmods-rpms/kmods/*kvmfr*.rpm \
2221
/tmp/akmods-rpms/kmods/*xone*.rpm \
2322
/tmp/akmods-rpms/kmods/*openrazer*.rpm \
2423
/tmp/akmods-rpms/kmods/*v4l2loopback*.rpm \
2524
/tmp/akmods-rpms/kmods/*wl*.rpm \
26-
/tmp/akmods-rpms/kmods/*nct6687*.rpm \
2725
/tmp/akmods-rpms/kmods/*framework-laptop*.rpm \
26+
/tmp/akmods-extra-rpms/kmods/*nct6687*.rpm \
2827
/tmp/akmods-extra-rpms/kmods/*gcadapter_oc*.rpm \
2928
/tmp/akmods-extra-rpms/kmods/*zenergy*.rpm \
3029
/tmp/akmods-extra-rpms/kmods/*vhba*.rpm \

spec_files/gsettings-desktop-schemas/99.patch

-111
This file was deleted.

spec_files/gsettings-desktop-schemas/gsettings-desktop-schemas.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
1313
Source0: https://download.gnome.org/sources/%{name}/47/%{name}-%{tarball_version}.tar.xz
1414
Source1: org.gnome.desktop.interface.rhel.gschema.override
1515

16-
Patch: 99.patch
16+
Patch: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/99.patch
1717

1818
BuildRequires: gettext
1919
BuildRequires: glib2-devel >= 2.31.0

spec_files/mangohud/mangohud.spec

+3-14
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
%global appname MangoHud
1212
%global forgeurl https://github.com/flightlessmango/MangoHud
13-
%global commit f77864d5ee59a82c33220267bf47fe0b82eafdad
13+
%global commit fea4292519a3085881d567a18ad3e1fee37078d8
1414
%forgemeta
1515
%global imgui_ver 1.89.9
1616
%global imgui_wrap_ver 2
@@ -22,8 +22,8 @@
2222
%global tarball_version %%(echo %{version} | tr '~' '-')
2323

2424
Name: mangohud
25-
Version: 0.8.0
26-
Release: 4
25+
Version: 0.8.1
26+
Release: %autorelease
2727
Summary: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load
2828

2929
License: MIT
@@ -40,17 +40,6 @@ Source5: https://github.com/epezent/implot/archive/v%{implot_ver}/implot-
4040
Source6: https://wrapdb.mesonbuild.com/v%{implot_wrap_ver}/implot_%{implot_ver}-1/get_patch#/implot-%{implot_ver}-%{implot_wrap_ver}-wrap.zip
4141
Source20: README.Fedora.md
4242

43-
# https://github.com/flightlessmango/MangoHud/commit/85bd029f2f292e2a7089caff6c78d79a102da96d
44-
Patch0: 85bd029f2f292e2a7089caff6c78d79a102da96d.patch
45-
# https://github.com/flightlessmango/MangoHud/pull/1581
46-
Patch1: 1581.patch
47-
# https://github.com/flightlessmango/MangoHud/commit/6dcd1b5c4bbd9fa1ff56337bff6d307568afc4d5
48-
Patch2: 6dcd1b5c4bbd9fa1ff56337bff6d307568afc4d5.patch
49-
# https://github.com/flightlessmango/MangoHud/commit/f60145c288610145b172af4f0dff49697337abc4
50-
Patch3: f60145c288610145b172af4f0dff49697337abc4.patch
51-
# https://github.com/flightlessmango/MangoHud/commit/5b7bd93f0493e88637ff4a6ef1140a13ded05cc8
52-
Patch4: 5b7bd93f0493e88637ff4a6ef1140a13ded05cc8.patch
53-
5443
BuildRequires: vulkan-headers
5544
BuildRequires: appstream
5645
BuildRequires: dbus-devel

0 commit comments

Comments
 (0)