From 4596008ec533be7828bb018642dd697264e6aa98 Mon Sep 17 00:00:00 2001 From: lijuzhang Date: Wed, 6 Mar 2024 03:12:27 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ExclusiveArch=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E6=89=93=E5=8C=85=E6=9E=B6=E6=9E=84=20spec=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=EF=BC=8C=E5=AF=B9=E6=9E=B6=E6=9E=84=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BA=86=E9=80=82=E9=85=8D=EF=BC=9A=20sys=5Farch=3D$(?= =?UTF-8?q?uname=20-m)=20mkdir=20-p=20%{buildroot}/opt/imageTailor=20cd=20?= =?UTF-8?q?%{name}=20cp=20-a=20conf/${sys=5Farch}/*=20%{buildroot}/opt/ima?= =?UTF-8?q?geTailor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 此时在构建loongArch64时,会因未适配而报错。 修改目的:指定打包架构,排查loongArch64架构的构建。 Signed-off-by: lijuzhang --- imageTailor.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imageTailor.spec b/imageTailor.spec index f51d7c5..f787675 100644 --- a/imageTailor.spec +++ b/imageTailor.spec @@ -7,6 +7,8 @@ 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 +ExclusiveArch: x86_64 aarch64 +ExclusiveOS: Linux %description Dopralinux custom tool -- Gitee From 6442ba265acc400c77906fea19fe711a6d08163c Mon Sep 17 00:00:00 2001 From: lijuzhang Date: Wed, 6 Mar 2024 03:25:26 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ExclusiveArch=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E6=89=93=E5=8C=85=E6=9E=B6=E6=9E=84=20spec=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=EF=BC=8C=E5=AF=B9=E6=9E=B6=E6=9E=84=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BA=86=E9=80=82=E9=85=8D=EF=BC=9A=20sys=5Farch=3D$(?= =?UTF-8?q?uname=20-m)=20mkdir=20-p=20%{buildroot}/opt/imageTailor=20cd=20?= =?UTF-8?q?%{name}=20cp=20-a=20conf/${sys=5Farch}/*=20%{buildroot}/opt/ima?= =?UTF-8?q?geTailor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 此时在构建loongArch64时,会因未适配而报错。 修改目的:指定打包架构,排查loongArch64架构的构建。 Signed-off-by: lijuzhang --- imageTailor.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/imageTailor.spec b/imageTailor.spec index f787675..367af44 100644 --- a/imageTailor.spec +++ b/imageTailor.spec @@ -3,7 +3,7 @@ Summary: Cut out the ISO License: Mulan PSL v2 Group: System/Management Version: 1.0.4 -Release: 1 +Release: 2 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 @@ -62,6 +62,11 @@ rm -rf %{_tmppath}/%{name}-%{version} rm -rf $RPM_BUILD_DIR/%{name}-%{version} %changelog +* Mon Mar 28 2022 lijuzhang - 1.0.4-2 +- ID:NA +- SUG:NA +- DESC:Add ExclusiveArch to Specify CPU Architecture + * Mon Mar 28 2022 xinsheng - 1.0.4-1 - ID:NA - SUG:NA -- Gitee