fix: Let system build linux kernel successfully in distro layer

After download_mirror.sh, system download kernel-rt and centos-git-common.
However, one important script, "get_sources.sh", is not executable.
It will cause built error.
this patch will change the file mode to fix this problem.

Closes-Bug: #1979341

Signed-off-by: ChantYuCN <chengde.yu@intel.com>
Change-Id: I136b92ebc943b2a9a8c6ad9cb85fe802acce3c09
This commit is contained in:
ChantYuCN 2022-06-21 16:22:23 +00:00
parent 233905183a
commit 2d87c05b48
1 changed files with 2 additions and 0 deletions

View File

@ -460,6 +460,7 @@ for line in $(cat $tarball_file); do
exit 1
fi
chmod +x centos-git-common/get_sources.sh
# Create the SRPM using CentOS tools
# bracketed to contain the PATH change
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
git clone https://git.centos.org/centos-git-common
chmod +x centos-git-common/get_sources.sh
# Create the SRPM using CentOS tools
# bracketed to contain the PATH change
(PATH=$PATH:./centos-git-common into_srpm.sh -d .el8)