chore: refactor package rename script to support all kernel versions #689
Annotations
1 error
Build Image
Error: buildah exited with code 1
Getting image source signatures
Copying blob sha256:44553f54d03b3c3d013b42a79fea869042bb4d94cc7f035ea965d7cb7587ac97
Copying blob sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef
Copying config sha256:677a116dbd14324001f6ba4112f843645317a58e698899ffea53756dc18d7a09
Writing manifest to image destination
++ rpm -E %fedora
+ RELEASE=40
+ sed -i s@enabled=1@enabled=0@g /etc/yum.repos.d/fedora-cisco-openh264.repo
+ mkdir -p /var/lib/alternatives
+ echo 'Installing coreos-testing kernel-cache RPMs...'
+ dnf install -y /tmp/kernel_cache/kernel-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-core-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-devel-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-devel-matched-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-modules-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-modules-core-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-modules-extra-6.10.12-200.fc40.x86_64.rpm /tmp/kernel_cache/kernel-uki-virt-6.10.12-200.fc40.x86_64.rpm
+ [[ coreos-testing == \s\u\r\f\a\c\e ]]
++ rpm -q kernel
++ cut -d - -f2-
+ KERNEL_VERSION=6.10.12-200.fc40.x86_64
+ RPMFUSION_MIRROR_RPMS=https://mirrors.rpmfusion.org
+ '[' -n '' ']'
+ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm fedora-repos-archive
+ [[ 40 -ge 41 ]]
+ '[' -n '' ']'
+ dnf install -y akmods mock ruby-devel
+ gem install fpm
+ [[ ! -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
+ [[ true == \t\r\u\e ]]
+ dnf install -y rpmrebuild
+ [[ ! -s /tmp/certs/private_key_2.priv ]]
+ echo 'WARNING: Using test signing key. Run '\''./generate-akmods-key'\'' for production builds.'
+ cp /tmp/certs/private_key_2.priv.test /tmp/certs/private_key_2.priv
+ cp /tmp/certs/public_key_2.der.test /tmp/certs/public_key_2.der
+ openssl x509 -in /tmp/certs/public_key_2.der -out /tmp/certs/public_key_2.crt
+ openssl x509 -in /tmp/certs/public_key.der -out /tmp/certs/public_key.crt
+ cat /tmp/certs/private_key.priv /dev/fd/63 /tmp/certs/public_key.crt
++ echo
+ cat /tmp/certs/private_key_2.priv /dev/fd/63 /tmp/certs/public_key_2.crt
++ echo
+ cat /tmp/certs/public_key.crt /dev/fd/63 /tmp/certs/public_key_2.crt
++ echo
+ [[ coreos-testing =~ coreos ]]
+ install -Dm644 /tmp/certs/public_key.der /lib/modules/6.10.12-200.fc40.x86_64/build/certs/signing_key.x509
+ install -Dm644 /tmp/certs/private_key.priv /lib/modules/6.10.12-200.fc40.x86_64/build/certs/signing_key.pem
+ dnf install -y autoconf automake dkms git jq libtool ncompress
+ chmod 1777 /tmp /var/tmp
+ mkdir -p /var/cache/rpms/kmods /var/cache/rpms/ublue-os /var/cache/rpms/ucore
+ install -D /etc/pki/akmods/certs/public_key.der /tmp/ublue-os-ucore-addons/rpmbuild/SOURCES/public_key.der
+ rpmbuild -ba --define '_topdir /tmp/ublue-os-ucore-addons/rpmbuild' --define '%_tmppath %{_topdir}/tmp' /tmp/ublue-os-ucore-addons/ublue-os-ucore-addons.spec
+ umask 022
+ cd /tmp/ublue-os-ucore-addons/rpmbuild/BUILD
+ cd /tmp/ublue-os-ucore-addons/rpmbuild/BUILD
+ rm -rf ublue-os-ucore-addons-0.1
+ /usr/bin/mkdir -p ublue-os-ucore-addons-0.1
+ cd ublue-os-ucore-addons-0.1
+ rm -rf /tmp/ublue-os-ucore-addons/rpmbuild/BUILD/ublue-os-ucore-addons-0.1-SPECPARTS
+ /usr/bin/mkdir -p /tmp/ublue-os-ucore-addons/rpmbuild/BUILD/ublue-os-ucore-addons-0.1-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-ucore-addons/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -
|
Loading