diff --git a/x2nestos-v0.1.0.tar.gz b/x2nestos-v0.1.0.tar.gz new file mode 100644 index 0000000..ce2f7d7 Binary files /dev/null and b/x2nestos-v0.1.0.tar.gz differ diff --git a/x2nestos.spec b/x2nestos.spec new file mode 100644 index 0000000..993ac04 --- /dev/null +++ b/x2nestos.spec @@ -0,0 +1,40 @@ +%define debug_package %{nil} + +%define src_name x2nestos.sh + +Name: x2nestos +Version: v0.1.0 +Release: 1 +Summary: A Tool used to convert a general linux operating system to NestOS For Container. +License: MulanPSL-2.0 +URL: https://gitee.com/openeuler/x2nestos +BuildArch: noarch +Source0: %{name}-%{version}.tar.gz +Requires: kexec-tools + +%description +Convert to NestOS For Container based on immutable operating systems, based on deployed general OS forms such as OpenEuler. +Suitable for scenarios where it is not convenient to reboot installation or convert in large quantities. + +Attention: +1. Non migration tools and do NOT retain disk data. +2. This conversion is irreversible. + +%prep +%setup -q -n %{name}-%{version} + +%build +# Nothing to build + +%install +mkdir -p %{buildroot}/usr/bin +install -m 755 %{src_name} %{buildroot}/usr/bin/%{name} + +%files +%{_bindir}/x2nestos +%license LICENSE +%doc README.md README.en.md + +%changelog +* Thu Sep 14 2023 wangyueliang - v0.1.0-1 +- Release v0.1.0 \ No newline at end of file