!70 [sync] PR-69: 添加创建docker时的参数限制说明
From: @openeuler-sync-bot Reviewed-by: @liheavy Signed-off-by: @liheavy
This commit is contained in:
commit
76b53ab54a
21
0006-update-readme-about-docker.patch
Normal file
21
0006-update-readme-about-docker.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff --git a/README.md b/README.md
|
||||
index eef54927c47f8b5703daa9c91590f38cadd98039..6be49b1586555cc3f09afc0d5baa6ef033ca3aea 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -53,6 +53,8 @@ pkgship是一款管理OS软件包依赖关系,提供依赖和被依赖关系
|
||||
| Python | 版本 3.8及以上 |
|
||||
|
||||
## 安装工具
|
||||
+> 说明:该软件支持在docker下运行。目前在openEuler21.09版本下,由于环境条件限制,创建docker时请使用--privileged参数,不使用--privileged参数将会导致软件启动失败,后续适配后将更新该文档。
|
||||
+
|
||||
**1、pkgship工具安装**
|
||||
|
||||
工具安装可通过以下两种方式中的任意一种实现。
|
||||
@@ -223,6 +225,8 @@ pkgshipd stop 停止服务
|
||||
> 每次起停周期内仅支持一种方式,不允许两种操作同时使用。
|
||||
>
|
||||
> pkgshipd启动方式只允许在pkgshipuser用户下操作。
|
||||
+>
|
||||
+> docker环境下如果不支持systemctl命令,请使用pkgshipd启停方式。
|
||||
|
||||
## 工具使用
|
||||
@ -1,6 +1,6 @@
|
||||
Name: pkgship
|
||||
Version: 2.2.0
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so on.
|
||||
License: Mulan 2.0
|
||||
URL: https://gitee.com/openeuler/pkgship
|
||||
@ -10,6 +10,7 @@ Patch0002: 0002-fix-install-and-start-script-info.patch
|
||||
Patch0003: 0003-bugfix-binary-name-mapping-source.patch
|
||||
Patch0004: 0004-fix-depend-query.patch
|
||||
Patch0005: 0005-update-copyright.patch
|
||||
Patch0006: 0006-update-readme-about-docker.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -115,6 +116,10 @@ create_dir_file /var/log/pkgship-operation 700 d
|
||||
%attr(0640,pkgshipuser,pkgshipuser) /lib/systemd/system/pkgship.service
|
||||
|
||||
%changelog
|
||||
* Sun Sep 26 2021 Haiwei Li <lihaiwei8@huawei.com> - 2.2.0-7
|
||||
- Due to a problem with docker, when pkgship is used in docker,
|
||||
- it must be created with the --privileged parameter, otherwise it will fail. So update the instructions.
|
||||
|
||||
* Mon Sep 6 2021 Haiwei Li <lihaiwei8@huawei.com> - 2.2.0-6
|
||||
- Update the date in copyright.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user