fix(autopatch): Fixed three replace actions that broke when upstream added new Nvidia certs (SOURCE107/108), changed the SBAT suffix mec #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a10-20260717-115748"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix by autopatch agent.
Summary: Fixed three replace actions that broke when upstream added new Nvidia certs (SOURCE107/108), changed the SBAT suffix mechanism from shell variables to RPM macros, and already enabled Btrfs in several non-debug kernel configs.
Root cause
Three separate
ReplaceActionfailures were found and fixed, guided by the a10s reference branch which already had all three fixes:Btrfs config target too broad (
kernel*.config): Upstream enabledCONFIG_BTRFS_FS=minkernel-ppc64le-rhel.config,kernel-riscv64-rhel.config,kernel-s390x-rhel.config, andkernel-x86_64-rhel.config— so# CONFIG_BTRFS_FS is not setno longer exists there. The broadkernel*.configtarget was replaced with 7 per-arch specific targets (allkernel*aarch64*.config, plus individual debug/rt/zfcpdump targets), and the 7-line replacement block was simplified to justCONFIG_BTRFS_FS=msince the surrounding# CONFIG_BTRFS_ASSERT,# CONFIG_BTRFS_DEBUG,POSIX_ACL,REF_VERIFY, andRUN_SANITY_TESTSlines are already present in the upstream configs (the non-existentCONFIG_BTRFS_FS_CHECK_INTEGRITYline was also removed).Nvidia cert bundle find mismatch (
spec): Upstream added two new Nvidia certs —SOURCE107: nvidiajetsonsoc.x509andSOURCE108: nvidiabfdpu.x509— between thenvidiagpuoot001.pemline and the finalcatcommand. Thefindvalue was updated to match the new 4-line block, andalmalinuxnvidia1.x509was moved fromSOURCE107toSOURCE109(avoiding collision with the upstreamSOURCE107). Thereplaceblock now keeps jetsonsoc and bfdpu and appendsalmalinuxnvidia.pemas SOURCE109 in the cert bundle.SBAT suffix mechanism changed (
spec): Upstream replaced the shell-variable patternSBATsuffix="centos"inside a build script with an RPM macro%global sbat_suffix centosat the top of the spec. Thefind/replacestrings were updated to match the new%global sbat_suffixform.Original error
Type:
ActionNotAppliedErrorPackage:
kernel| Webhook branch:c10