From 823188dbc36413ffb6be562110c80eafdcd6b43a Mon Sep 17 00:00:00 2001 From: fhxing168 Date: Mon, 25 May 2020 16:31:41 +0800 Subject: [PATCH] Modify the gpgcheck. --- .../using-the-dnf-to-manage-software-packages.md | 2 +- content/en/docs/ApplicationDev/building-an-rpm-package.md | 1 - content/en/docs/ApplicationDev/preparation.md | 3 ++- ...256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" | 2 +- ...217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" | 3 ++- .../ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" | 1 - 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md b/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md index e3306c6c1..f02692ab4 100644 --- a/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md +++ b/content/en/docs/Administration/using-the-dnf-to-manage-software-packages.md @@ -48,7 +48,7 @@ The /etc/dnf/dnf.conf file contains the **main** part. The following is an exa ``` [main] -gpgcheck=0 +gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True best=True diff --git a/content/en/docs/ApplicationDev/building-an-rpm-package.md b/content/en/docs/ApplicationDev/building-an-rpm-package.md index bb3693195..70e2262d7 100644 --- a/content/en/docs/ApplicationDev/building-an-rpm-package.md +++ b/content/en/docs/ApplicationDev/building-an-rpm-package.md @@ -647,7 +647,6 @@ You have obtained the **root** permission, and have configured a repo source f ``` [general] apiurl = http://openeuler-build.huawei.com/ - no_verify = 1 [http://openeuler-build.huawei.com/] user=userName pass=passWord diff --git a/content/en/docs/ApplicationDev/preparation.md b/content/en/docs/ApplicationDev/preparation.md index f27722585..10db10bc8 100644 --- a/content/en/docs/ApplicationDev/preparation.md +++ b/content/en/docs/ApplicationDev/preparation.md @@ -149,7 +149,8 @@ You can configure a repo source by directly obtaining the repo source file or by enabled=1 - gpgcheck=0 + gpgcheck=1 + gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler ### Configuring a Repo Source by Mounting an ISO File diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" index 276fa75b2..dea2cd745 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" @@ -49,7 +49,7 @@ DNF 的主要配置文件是 /etc/dnf/dnf.conf,该文件中“main”部分保 ``` [main] -gpgcheck=0 +gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True best=True diff --git "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" index 141b209c3..4140f2ddb 100644 --- "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" +++ "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" @@ -148,7 +148,8 @@ openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指 enabled=1 - gpgcheck=0 + gpgcheck=1 + gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler ### 通过挂载ISO的方式配置repo源 diff --git "a/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" "b/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" index 6518e0def..29f36c617 100644 --- "a/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" +++ "b/content/zh/docs/ApplicationDev/\346\236\204\345\273\272RPM\345\214\205.md" @@ -644,7 +644,6 @@ RPM软件包构建完成后,通过网页端获取对应RPM软件包的方法 ``` [general] apiurl = http://openeuler-build.huawei.com/ - no_verify = 1 [http://openeuler-build.huawei.com/] user=userName pass=passWord -- Gitee