Projects
Eulaceura:Factory
imageTailor
_service:obs_scm:imageTailor.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:imageTailor.spec of Package imageTailor
Name: imageTailor Summary: Cut out the ISO License: Mulan PSL v2 Group: System/Management 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 dosfstools parted kpartx xz rsync %description Dopralinux custom tool %prep %setup -c %autopatch -p1 %install sys_arch=$(uname -m) mkdir -p %{buildroot}/opt/imageTailor cd %{name} 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 chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_*/usr_install/all/addonscript/after_inssucc_hook/* # for user config chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_*/usr_install/conf/* chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_*/cmd.conf chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_*/rpm.conf chmod 600 %{buildroot}/opt/imageTailor/custom/cfg_*/security_s.conf chmod 640 %{buildroot}/opt/imageTailor/custom/cfg_*/sys.conf # for execute scripts 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 %post %preun %postun %files %defattr(-,root,root) %dir /opt/imageTailor /opt/imageTailor/* %clean rm -rf $RPM_BUILD_ROOT/* 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 - DESC:add cache array for matching rpm * Mon Mar 21 2022 xinsheng<xinsheng3@huawei.com> - 1.0.3-1 - ID:NA - SUG:NA - DESC:init openEuler file config * Wed Mar 16 2022 xinsheng<xinsheng3@huawei.com> - 1.0.2-1 - ID:NA - SUG:NA - DESC:adapter keyword for openEuler * Thu Mar 03 2022 xinsheng<xinsheng3@huawei.com> - 1.0.1-1 - ID:NA - SUG:NA - DESC:append arm ko for pxe * Mon Feb 28 2022 xinsheng<xinsheng3@huawei.com> - 1.0.0-1 - ID:NA - SUG:NA - DESC:package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2