support for qcow2 riscv64
This commit is contained in:
parent
9430173002
commit
d4d0a0bdaa
Binary file not shown.
@ -2,7 +2,7 @@ Name: imageTailor
|
||||
Summary: Cut out the ISO
|
||||
License: Mulan PSL v2
|
||||
Group: System/Management
|
||||
Version: 2.1.0
|
||||
Version: 2.2.0
|
||||
Release: 1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
Source: https://gitee.com/openeuler/imageTailor/repository/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
@ -16,13 +16,15 @@ Dopralinux custom tool
|
||||
%autopatch -p1
|
||||
|
||||
%install
|
||||
iso_arch=$(uname -m)
|
||||
sys_arch=$(uname -m)
|
||||
mkdir -p %{buildroot}/opt/imageTailor
|
||||
cd %{name}
|
||||
cp -a conf/${iso_arch}/* %{buildroot}/opt/imageTailor
|
||||
cp -a conf/${sys_arch}/* %{buildroot}/opt/imageTailor
|
||||
cp -a conf/common/* %{buildroot}/opt/imageTailor
|
||||
cp -a mkdliso %{buildroot}/opt/imageTailor
|
||||
|
||||
%ifnarch riscv64
|
||||
|
||||
# for user install hook config
|
||||
chmod 600 %{buildroot}/opt/imageTailor/custom/cfg_*/usr_install/hook/install_succ_hook/S00reboot
|
||||
chmod 600 %{buildroot}/opt/imageTailor/custom/cfg_*/usr_install/hook/after_setup_os_hook/S00setcap
|
||||
@ -40,6 +42,8 @@ chmod 550 %{buildroot}/opt/imageTailor/kiwi/hook/config.sh
|
||||
chmod 550 %{buildroot}/opt/imageTailor/kiwi/hook/images.sh
|
||||
chmod 550 %{buildroot}/opt/imageTailor/mkdliso
|
||||
|
||||
%endif
|
||||
|
||||
chmod 550 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/bin/*
|
||||
chmod 550 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/lib/*
|
||||
chmod 550 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/misc/*
|
||||
@ -69,6 +73,11 @@ rm -rf %{_tmppath}/%{name}-%{version}
|
||||
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||
|
||||
%changelog
|
||||
* Wed Nov 22 2023 chenhuihan <chenhuihan@huawei.com> - 2.2.0-1
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: support for qcow2 riscv64
|
||||
|
||||
* Wed Aug 23 2023 xinsheng3 <xinsheng3@huawei.com> - 2.1.0-1
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user