Skip to content

kernel.spec: Add glibc-static build requirement

Prarit Bhargava requested to merge prarit/centos-stream-9:glibc-static into main

Bugzilla: INTERNAL

The lack of the changes in this commit causes CKI and brew to build
different BPF sub-packages.

Upstream Status: RHEL only, https://gitlab.com/cki-project/kernel-ark
commit 2c3cf337c2990949c4eb1b6b3f09e0132b299056
Author: Prarit Bhargava prarit@redhat.com
Date: Mon Jan 10 11:36:21 2022 -0500

kernel.spec: Add glibc-static build requirement        
    
CKI and brew builds resulted in two different values for        
CONFIG_CC_CAN_LINK_STATIC.  In CKI CONFIG_CC_CAN_LINK_STATIC=y while in        
brew CONFIG_CC_CAN_LINK_STATIC was not defined.  This occurs because        
glibc-static is installed on the CKI build containers and was not        
installed in brew.        
    
In order to guarantee consistency across build environments add a build        
requirement for the glibc-static package.        
    
Signed-off-by: Prarit Bhargava <prarit@redhat.com>        

Signed-off-by: Prarit Bhargava prarit@redhat.com

Edited by Prarit Bhargava

Merge request reports