feat: enable preview of Fedora 40 kmod builds #732
Annotations
1 error
Build Image
Error: buildah exited with code 1
++ rpm -E %_arch
+ ARCH=x86_64
++ rpm -E %fedora
+ RELEASE=40
+ [[ 40 -le 38 ]]
+ sed -i s@enabled=1@enabled=0@g /etc/yum.repos.d/fedora-cisco-openh264.repo
+ mkdir -p /var/lib/alternatives
+ RPMFUSION_MIRROR_RPMS=https://mirrors.rpmfusion.org
+ '[' -n http://mirror.fcix.net/rpmfusion ']'
+ RPMFUSION_MIRROR_RPMS=http://mirror.fcix.net/rpmfusion
+ rpm-ostree install http://mirror.fcix.net/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm http://mirror.fcix.net/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm fedora-repos-archive
+ [[ 40 -ge 40 ]]
+ sed -i s%free/fedora/releases%free/fedora/development% /etc/yum.repos.d/rpmfusion-free-updates-testing.repo /etc/yum.repos.d/rpmfusion-free-updates.repo /etc/yum.repos.d/rpmfusion-free.repo /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo /etc/yum.repos.d/rpmfusion-nonfree-steam.repo /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo /etc/yum.repos.d/rpmfusion-nonfree-updates.repo /etc/yum.repos.d/rpmfusion-nonfree.repo
+ sed -i '0,/enabled=0/{s/enabled=0/enabled=1/}' /etc/yum.repos.d/rpmfusion-free-updates-testing.repo /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
+ '[' -n http://mirror.fcix.net/rpmfusion ']'
+ echo 'Using single rpmfusion mirror: http://mirror.fcix.net/rpmfusion'
+ sed -i.bak 's%^metalink=%#metalink=%' /etc/yum.repos.d/rpmfusion-free-updates-testing.repo /etc/yum.repos.d/rpmfusion-free-updates.repo /etc/yum.repos.d/rpmfusion-free.repo /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo /etc/yum.repos.d/rpmfusion-nonfree-steam.repo /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo /etc/yum.repos.d/rpmfusion-nonfree-updates.repo /etc/yum.repos.d/rpmfusion-nonfree.repo
+ sed -i 's%^#baseurl=http://download1.rpmfusion.org%baseurl=http://mirror.fcix.net/rpmfusion%' /etc/yum.repos.d/rpmfusion-free-updates-testing.repo /etc/yum.repos.d/rpmfusion-free-updates.repo /etc/yum.repos.d/rpmfusion-free.repo /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo /etc/yum.repos.d/rpmfusion-nonfree-steam.repo /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo /etc/yum.repos.d/rpmfusion-nonfree-updates.repo /etc/yum.repos.d/rpmfusion-nonfree.repo
+ [[ asus == \m\a\i\n ]]
+ [[ main =~ fsync ]]
+ [[ surface == \m\a\i\n ]]
+ echo 'Default main kernel needs no customization.'
+ rpm-ostree install akmods mock
Created symlink /etc/systemd/system/timers.target.wants/dnf-makecache.timer → /usr/lib/systemd/system/dnf-makecache.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/akmods.service → /usr/lib/systemd/system/akmods.service.
+ [[ ! -s /tmp/certs/private_key.priv ]]
+ echo 'WARNING: Using test signing key. Run '\''./generate-akmods-key'\'' for production builds.'
+ cp /tmp/certs/private_key.priv.test /tmp/certs/private_key.priv
+ cp /tmp/certs/public_key.der.test /tmp/certs/public_key.der
+ install -Dm644 /tmp/certs/public_key.der /etc/pki/akmods/certs/public_key.der
+ install -Dm644 /tmp/certs/private_key.priv /etc/pki/akmods/private/private_key.priv
+ chmod 1777 /tmp /var/tmp
+ mkdir -p /var/cache/rpms/kmods /var/cache/rpms/ublue-os
+ sed -i s@gpgcheck=0@gpgcheck=1@ /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/nvidia-container-toolkit.repo
+ rpmbuild -ba --define '_topdir /tmp/ublue-os-nvidia-addons/rpmbuild' --define '%_tmppath %{_topdir}/tmp' /tmp/ublue-os-nvidia-addons/ublue-os-nvidia-addons.spec
+ umask 022
+ cd /tmp/ublue-os-nvidia-addons/rpmbuild/BUILD
+ cd /tmp/ublue-os-nvidia-addons/rpmbuild/BUILD
+ rm -rf ublue-os-nvidia-addons-0.10
+ /usr/bin/mkdir -p ublue-os-nvidia-addons-0.10
+ cd ublue-os-nvidia-addons-0.10
+ rm -rf /tmp/ublue-os-nvidia-addons/rpmbuild/BUILD/ublue-os-nvidia-addons-0.10-SPECPARTS
+ /usr/bin/mkdir -p /tmp/ublue-os-nvidia-addons/rpmbuild/BUILD/ublue-os-nvidia-addons-0.10-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
+ umask 022
+ cd /tmp/ublue-os-nvidia-addons/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE
|
Loading