Star
664
Fork
432
代码
介绍
代码
Issues
51
Pull Requests
72
流水线
Actions
项目讨论
Wiki
项目成员
165
分析
项目设置
Star
664
Fork
432
已关闭
[Package] 新增 deb/rpm 包 custom_postinst.sh 和 custom_prerm.sh 脚本
#665
liu-wei
创建于
7月29日
关闭于
7月30日
liu-wei
成员
7月29日
创建
7月29日
创建
需求描述
为 ops-cv 的 deb/rpm 包新增自定义生命周期管理脚本。
实现方案
PR:
https://gitcode.com/cann/ops-cv/pull/1196
custom_postinst.sh(安装后)
安装 es_cv whl 到 site-packages
清理源码目录
创建
init
.py
跨架构 .so 拷贝
custom_prerm.sh(卸载前)
pip uninstall es_cv
清理 site-packages 残留
删除
init
.py 和跨架构 .so
清理空目录
涉及文件
scripts/package/ops_cv/rpm_deb/custom_postinst.sh
scripts/package/ops_cv/rpm_deb/custom_prerm.sh
关联 PR
#1196
保存
取消
liu-wei
成员
7月29日
将 liu-wei 设为负责人
7月29日
将 liu-wei 设为负责人
CANN-robot
成员
7月30日
关闭了 issue
7月30日
关闭了 issue
CANN-robot
成员
7月30日
添加了label:
resolved
7月30日
添加了label:
resolved
需求描述
为 ops-cv 的 deb/rpm 包新增自定义生命周期管理脚本。
实现方案
PR: https://gitcode.com/cann/ops-cv/pull/1196
custom_postinst.sh(安装后)
custom_prerm.sh(卸载前)
涉及文件
关联 PR