change generate argument check range
This commit is contained in:
parent
bffaac24a2
commit
5e5934d89e
29
0001-argumentchange.patch
Normal file
29
0001-argumentchange.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 377a5a9a81a3063ab56e2916575d46c0ec984f52 Mon Sep 17 00:00:00 2001
|
||||||
|
From: linxiaoxu131415 <linxiaoxu@huawei.com>
|
||||||
|
Date: Wed, 13 Oct 2021 07:54:55 +0000
|
||||||
|
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E6=A0=A1?=
|
||||||
|
=?UTF-8?q?=E9=AA=8C=E8=8C=83=E5=9B=B4?=
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
---
|
||||||
|
scripts/generate.sh | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/scripts/generate.sh b/scripts/generate.sh
|
||||||
|
index c181221..7a57b05 100644
|
||||||
|
--- a/scripts/generate.sh
|
||||||
|
+++ b/scripts/generate.sh
|
||||||
|
@@ -291,7 +291,7 @@ if [ $# != 4 ];then
|
||||||
|
fi
|
||||||
|
|
||||||
|
set +eE
|
||||||
|
-for i in $*
|
||||||
|
+for i in $1 $2 $3
|
||||||
|
do
|
||||||
|
echo "$i" | grep -v -E ${CHECK_REGEX}
|
||||||
|
filterParam=$(echo "$i" | grep -v -E ${CHECK_REGEX})
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
11
KubeOS.spec
11
KubeOS.spec
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
Name: KubeOS
|
Name: KubeOS
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: O&M platform used to update the whole OS as an entirety
|
Summary: O&M platform used to update the whole OS as an entirety
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
Source0: https://gitee.com/openeuler/isula-build/repository/archive/v%{version}.tar.gz
|
Source0: https://gitee.com/openeuler/isula-build/repository/archive/v%{version}.tar.gz
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Patch1: 0001-argumentchange.patch
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: golang >= 1.13
|
BuildRequires: golang >= 1.13
|
||||||
%description
|
%description
|
||||||
@ -77,6 +78,12 @@ install -p -m 0600 ./files/os-release %{buildroot}/opt/kubeOS/files
|
|||||||
rm -rfv %{buildroot}
|
rm -rfv %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 19 2021 linxiaoxu<linxiaoxu@huawei.com> - 1.0.0-4
|
||||||
|
- Type:requirement
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:change argument check range
|
||||||
|
|
||||||
* Thu Sep 30 2021 liyuanrong<liyuanrong1@huawei.com> - 1.0.0-2
|
* Thu Sep 30 2021 liyuanrong<liyuanrong1@huawei.com> - 1.0.0-2
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
@ -93,4 +100,4 @@ rm -rfv %{buildroot}
|
|||||||
- Type:requirement
|
- Type:requirement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
- SUG:restart
|
- SUG:restart
|
||||||
- DESC:First release KubeOS in rpm package
|
- DESC:First release KubeOS in rpm package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user