From 2d87c05b48f086762b5a7279e434a518e5206e3a Mon Sep 17 00:00:00 2001 From: ChantYuCN Date: Tue, 21 Jun 2022 16:22:23 +0000 Subject: [PATCH] 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 Change-Id: I136b92ebc943b2a9a8c6ad9cb85fe802acce3c09 --- centos-mirror-tools/dl_tarball.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centos-mirror-tools/dl_tarball.sh b/centos-mirror-tools/dl_tarball.sh index 36375505..d06a183c 100755 --- a/centos-mirror-tools/dl_tarball.sh +++ b/centos-mirror-tools/dl_tarball.sh @@ -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)