chore: refactor package rename script to support all kernel versions #638
build-39.yml
on: pull_request
Matrix: build / akmods
build
/
Check all ${{ inputs.fedora_version }} builds successful
0s
Annotations
2 errors
build / akmods (39, main, common)
Error: buildah exited with code 1
Getting image source signatures
Copying blob sha256:e0e9c1efdbc29acfae324802022a411f6d0efa29f78e3df9fc6c3503f9c208a5
Copying blob sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef
Copying config sha256:62db9eed4d3944ffeddee5edffc75421a372860de32964cb5d6ec195e7140524
Writing manifest to image destination
++ rpm -E %fedora
+ RELEASE=39
+ sed -i s@enabled=1@enabled=0@g /etc/yum.repos.d/fedora-cisco-openh264.repo
+ mkdir -p /var/lib/alternatives
+ echo 'Installing main kernel-cache RPMs...'
+ dnf install -y /tmp/kernel_cache/kernel-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-core-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-devel-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-devel-matched-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-core-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-extra-6.11.3-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-uki-virt-6.11.3-100.fc39.x86_64.rpm
+ [[ main == \s\u\r\f\a\c\e ]]
++ rpm -q kernel
++ cut -d - -f2-
+ KERNEL_VERSION=6.11.3-100.fc39.x86_64
+ RPMFUSION_MIRROR_RPMS=https://mirrors.rpmfusion.org
+ '[' -n '' ']'
+ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-39.noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-39.noarch.rpm fedora-repos-archive
+ [[ 39 -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
+ [[ main =~ coreos ]]
+ chmod 1777 /tmp /var/tmp
+ mkdir -p /var/cache/rpms/kmods /var/cache/rpms/ublue-os /var/cache/rpms/ucore
+ echo priority=85
+ install -D /etc/pki/akmods/certs/public_key.der /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/public_key.der
+ rpmbuild -ba --define '_topdir /tmp/ublue-os-akmods-addons/rpmbuild' --define '%_tmppath %{_topdir}/tmp' /tmp/ublue-os-akmods-addons/ublue-os-akmods-addons.spec
warning: bogus date in %changelog: Mon Apr 23 2024 Kyle Gospodnetich <[email protected]> - 0.6
warning: bogus date in %changelog: Fri May 18 2023 David Hoell - 0.1
+ umask 022
+ cd /tmp/ublue-os-akmods-addons/rpmbuild/BUILD
+ cd /tmp/ublue-os-akmods-addons/rpmbuild/BUILD
+ rm -rf ublue-os-akmods-addons-0.6
+ /usr/bin/mkdir -p ublue-os-akmods-addons-0.6
+ cd ublue-os-akmods-addons-0.6
+ rm -rf /tmp/ublue-os-akmods-addons/rpmbuild/BUILD/ublue-os-akmods-addons-0.6-SPECPARTS
+ /usr/bin/mkdir -p /tmp/ublue-os-akmods-addons/rpmbuild/BUILD/ublue-os-akmods-addons-0.6-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-akmods-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 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat
|
build / akmods (39, coreos-stable, common)
Error: buildah exited with code 1
Getting image source signatures
Copying blob sha256:30cf0b78bc96c764ebe08e17d4144ef5ff5bf034aa1e14a098f57fe25881d5b2
Copying blob sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef
Copying config sha256:6b63ec3e93b9a8f43dd3c19440adfa8ff6f0902470769620770ab74ecb6fb142
Writing manifest to image destination
++ rpm -E %fedora
+ RELEASE=39
+ sed -i s@enabled=1@enabled=0@g /etc/yum.repos.d/fedora-cisco-openh264.repo
+ mkdir -p /var/lib/alternatives
+ echo 'Installing coreos-stable kernel-cache RPMs...'
+ dnf install -y /tmp/kernel_cache/kernel-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-core-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-devel-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-devel-matched-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-core-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-modules-extra-6.10.10-100.fc39.x86_64.rpm /tmp/kernel_cache/kernel-uki-virt-6.10.10-100.fc39.x86_64.rpm
+ [[ coreos-stable == \s\u\r\f\a\c\e ]]
++ rpm -q kernel
++ cut -d - -f2-
+ KERNEL_VERSION=6.10.10-100.fc39.x86_64
+ RPMFUSION_MIRROR_RPMS=https://mirrors.rpmfusion.org
+ '[' -n '' ']'
+ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-39.noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-39.noarch.rpm fedora-repos-archive
+ [[ 39 -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-stable =~ coreos ]]
+ install -Dm644 /tmp/certs/public_key.der /lib/modules/6.10.10-100.fc39.x86_64/build/certs/signing_key.x509
+ install -Dm644 /tmp/certs/private_key.priv /lib/modules/6.10.10-100.fc39.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 -Wp,
|