1 Star 0 Fork 30

Ya-haha/centos2anolis

forked from anolis/centos2anolis
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
centos2anolis.spec 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
Ya-haha 提交于 2022-05-26 18:26 . Add offline migration
%define anolis_release 6
Name: centos2anolis
Version: 0.1
Release: %{anolis_release}
Summary: Transfer CentOS to Anolis.
License: MulanPSL2
URL: www.openanolis.cn
Source0: %{name}.py
Source1: README.md
Source2: LICENSE.txt
BuildRequires: python3
Requires: python3
Requires: bash
BuildArch: noarch
%description
This script is designed to automatically convert a CentOS instance to
Anolis OS in-place. Currently it supports transferring from CentOS 7
to Anolis OS 7 and from CentOS 8 to Anolis OS 8.
%prep
cp %{SOURCE1} .
cp %{SOURCE2} .
%install
mkdir -p %{buildroot}/%{_sbindir}
install -m 755 %{SOURCE0} %{buildroot}/%{_sbindir}
%files
%{_sbindir}/%{name}.py
%doc README.md
%license LICENSE.txt
%changelog
* Thu May 26 2022 XueZhixin <[email protected]> - 0.1-6
- Add offline migration
* Thu May 26 2022 mgb0110571 <[email protected]> - 0.1-5
- add custom log path
- add custom json file
* Fri Mar 25 2022 mgb0110571 <[email protected]> - 0.1-4
- fix module virt
* Fri Feb 11 2022 mgb0110571 <[email protected]> - 0.1-3
- Add mysql-server check
- handle 3rd-part repository files and try using an internal web address
- Add -c usage to continue migration
- save print message to /var/log/centos2anolis.log
- update README and LICENSE
- optimise code style
- add default version for switch
* Wed Jan 05 2022 Chunmei Xu <[email protected]> - 0.1-2
- add check for i686 packages
* Wed Dec 22 2021 mgb0110571 <[email protected]> - 0.1-1
- First CentOS2Anolis Package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuezhizone/centos2anolis.git
[email protected]:xuezhizone/centos2anolis.git
xuezhizone
centos2anolis
centos2anolis
master

搜索帮助