From da58102e457e4170fdd41ba209a0def76ec82ff6 Mon Sep 17 00:00:00 2001 From: zhangminjie1997 <1010169419@qq.com> Date: Mon, 25 Apr 2022 17:37:53 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=B9asianux=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 794f016..d0e94c7 100755 --- a/build.sh +++ b/build.sh @@ -40,6 +40,10 @@ elif [ X"$kernel" == X"centos" ]; then dist_version="CENTOS" elif [ X"$kernel" == X"openeuler" ]; then dist_version="OPENEULER" +elif [ X"$kernel" = X"redflag" ]; then + dist_version="Asianux" +elif [ X"$kernel" = X"asianux" ]; then + dist_version="Asianux" else echo "We only support EulerOS, OPENEULER(aarch64) and CentOS platform." echo "Kernel is $kernel" From 1cb64a9f2e37e1dde7c32651d29be2517b689522 Mon Sep 17 00:00:00 2001 From: zhangminjie1997 <1010169419@qq.com> Date: Thu, 5 May 2022 10:39:29 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=BA=A2=E6=97=97=E5=B9=B3=E5=8F=B0=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d0e94c7..6e3c6fe 100755 --- a/build.sh +++ b/build.sh @@ -45,7 +45,7 @@ elif [ X"$kernel" = X"redflag" ]; then elif [ X"$kernel" = X"asianux" ]; then dist_version="Asianux" else - echo "We only support EulerOS, OPENEULER(aarch64) and CentOS platform." + echo "We only support EulerOS, OPENEULER(aarch64) CentOS and Asianux platform." echo "Kernel is $kernel" exit 1 fi From b9be987d213d7efb70384701cade2fa4dd31de21 Mon Sep 17 00:00:00 2001 From: zhangminjie1997 <1010169419@qq.com> Date: Mon, 25 Apr 2022 17:37:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=B9asianux=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 794f016..6e3c6fe 100755 --- a/build.sh +++ b/build.sh @@ -40,8 +40,12 @@ elif [ X"$kernel" == X"centos" ]; then dist_version="CENTOS" elif [ X"$kernel" == X"openeuler" ]; then dist_version="OPENEULER" +elif [ X"$kernel" = X"redflag" ]; then + dist_version="Asianux" +elif [ X"$kernel" = X"asianux" ]; then + dist_version="Asianux" else - echo "We only support EulerOS, OPENEULER(aarch64) and CentOS platform." + echo "We only support EulerOS, OPENEULER(aarch64) CentOS and Asianux platform." echo "Kernel is $kernel" exit 1 fi