Merge "fix: Let system build linux kernel successfully in distro layer"

This commit is contained in:
Zuul 2022-07-05 15:28:34 +00:00 committed by Gerrit Code Review
commit f9f82c8e12

View File

@ -460,6 +460,7 @@ for line in $(cat $tarball_file); do
exit 1 exit 1
fi fi
chmod +x centos-git-common/get_sources.sh
# Create the SRPM using CentOS tools # Create the SRPM using CentOS tools
# bracketed to contain the PATH change # bracketed to contain the PATH change
if ! (PATH=$PATH:./centos-git-common into_srpm.sh -d .$el_release); then if ! (PATH=$PATH:./centos-git-common into_srpm.sh -d .$el_release); then
@ -482,6 +483,7 @@ for line in $(cat $tarball_file); do
# get the CentOS tools for building SRPMs # get the CentOS tools for building SRPMs
git clone https://git.centos.org/centos-git-common git clone https://git.centos.org/centos-git-common
chmod +x centos-git-common/get_sources.sh
# Create the SRPM using CentOS tools # Create the SRPM using CentOS tools
# bracketed to contain the PATH change # bracketed to contain the PATH change
(PATH=$PATH:./centos-git-common into_srpm.sh -d .el8) (PATH=$PATH:./centos-git-common into_srpm.sh -d .el8)