!17 [sync] PR-15: rebase riscv support

From: @openeuler-sync-bot 
Reviewed-by: @jianli-97 
Signed-off-by: @jianli-97
This commit is contained in:
openeuler-ci-bot 2024-04-07 07:01:04 +00:00 committed by Gitee
commit 99a189bfeb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 5297 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,40 +0,0 @@
# toolbox
#### 介绍
Toolbox is a tool for Linux, which allows the use of interactive command line environments for development and troubleshooting the host operating system, without having to install software on the host. It is built on top of Podman and other standard container technologies from OCI.
#### 安装教程
Install toolbox rpm package:
yum install toolbox
#### 使用说明
Create your toolbx container:
[user@hostname ~]$ toolbox create
Created container: fedora-toolbox-36
Enter with: toolbox enter
This will create a container called fedora-toolbox-<version-id>.
#### 参与贡献
master分支使用最新的上游版本如果检测到上游有最新版本发布先形成issue后再提交对应PR更新流程如下。
1. 提交issue
2. Fork 本仓库
3. 新建 Feat_xxx 分支
4. 提交代码
5. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -5,7 +5,7 @@ Version: 0.0.99.5
%global goipath github.com/containers/%{name}
Release: 1
Release: 2
Summary: Tool for interactive command line environments on Linux
License: Apache-2.0
@ -14,23 +14,18 @@ URL: https://github.com/containers/toolbox
Source0: toolbox-0.0.99.5-vendored.tar.xz
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
%ifarch riscv64
Patch0: 0001-add-riscv-support.patch
%endif
BuildRequires: golang >= 1.20 meson >= 0.58.0
BuildRequires: pkgconfig(bash-completion) systemd
BuildRequires: gcc shadow
BuildRequires: gcc shadow chrpath
Recommends: skopeo
Requires: podman >= 1.4.0 containers-common
%description
Toolbox is a tool for Linux operating systems, which allows the use of
containerized command line environments. It is built on top of Podman and
other standard container technologies from OCI.
%package tests
Summary: Tests for toolbox.
@ -92,6 +87,9 @@ ln -s src/vendor vendor
%install
%meson_install
if [ -f %{buildroot}/usr/bin/toolbox ]; then
chrpath --delete %{buildroot}/usr/bin/toolbox
fi
%files
%doc CODE-OF-CONDUCT.md NEWS README.md SECURITY.md
@ -110,6 +108,9 @@ ln -s src/vendor vendor
%{_datadir}/%{name}
%changelog
* Tue Apr 2 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 0.0.99.5-2
- rebase patch and fix
* Thu Jan 04 2024 duyiwei <duyiwei@kylinos.cn> - 0.0.99.5-1
- upgrade version to 0.0.99.5