Compare commits

...

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
0c88b32d48
!32 support for qcow2 riscv64
From: @chen-huihan 
Reviewed-by: @xinsheng3, @zhuchunyi 
Signed-off-by: @zhuchunyi
2023-11-22 09:30:50 +00:00
c30025131
d4d0a0bdaa support for qcow2 riscv64 2023-11-22 15:47:30 +08:00
陈慧汉
9430173002
support for qcow2 riscv64 2023-11-22 07:27:05 +00:00
openeuler-ci-bot
6da6b30c3d
!28 openEuler support raspberryPi img cut
From: @xinsheng3 
Reviewed-by: @chen-huihan, @zhuchunyi 
Signed-off-by: @zhuchunyi
2023-08-23 08:22:57 +00:00
xinsheng3
ac201a0408 openEuler support raspberryPi img cut 2023-08-23 14:26:08 +08:00
openeuler-ci-bot
d3d438ca93
!23 fixed make qcow2 in docker
From: @chen-huihan 
Reviewed-by: @xinsheng3, @zhuchunyi 
Signed-off-by: @zhuchunyi
2023-06-02 06:54:43 +00:00
c30025131
d92f9f1ed8 fixed make qcow2 in docker 2023-06-02 11:08:32 +08:00
openeuler-ci-bot
41cc21d59c
!20 fix pwd
From: @chen-huihan 
Reviewed-by: @xinsheng3, @zhuchunyi 
Signed-off-by: @zhuchunyi
2023-05-23 10:33:26 +00:00
chen-huihan
c991787785 fix pwd 2023-05-23 18:21:36 +08:00
openeuler-ci-bot
2a1359ae94
!16 support qcow2
From: @chen-huihan 
Reviewed-by: @xinsheng3, @zhuchunyi 
Signed-off-by: @zhuchunyi
2023-05-19 13:02:01 +00:00
chen-huihan
777422bfe2 support qcow2 2023-05-19 20:18:38 +08:00
chen-huihan
c1ca0031b4 support qcow2 2023-05-19 19:37:32 +08:00
3 changed files with 42 additions and 4 deletions

Binary file not shown.

BIN
imageTailor-2.2.0.tar.gz Normal file

Binary file not shown.

View File

@ -2,25 +2,29 @@ Name: imageTailor
Summary: Cut out the ISO
License: Mulan PSL v2
Group: System/Management
Version: 1.0.4
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
Requires: dnf-utils tar python3 drpm genisoimage python3-kiwi kiwi-tools kiwi-systemdeps
Requires: dnf-utils tar python3 drpm genisoimage python3-kiwi kiwi-tools kiwi-systemdeps dosfstools parted kpartx xz rsync
%description
Dopralinux custom tool
%prep
%setup -c
%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
@ -38,6 +42,15 @@ 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/*
chmod 550 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/hooks/*/*
chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/config/*
chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_qcow2/template/*
cd -
%pre
@ -60,6 +73,31 @@ 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
- DESC: support raspberryPi img cut
* Fri Jun 2 2023 chenhuihan <chenhuihan@huawei.com> - 2.0.1-2
- ID:NA
- SUG:NA
- DESC: fixed make qcow2 in docker
* Tue May 23 2023 chenhuihan <chenhuihan@huawei.com> - 2.0.1-1
- ID:NA
- SUG:NA
- DESC: fix pwd
* Fri May 19 2023 chenhuihan <chenhuihan@huawei.com> - 2.0.0-1
- ID:NA
- SUG:NA
- DESC: support qcow2
* Mon Mar 28 2022 xinsheng<xinsheng3@huawei.com> - 1.0.4-1
- ID:NA
- SUG:NA