chore: refactor package rename script to support all kernel versions #638
Annotations
1 error
Build Image
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 <me@kylegospodneti.ch> - 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
|
Loading