This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1d060eb57c AMBARI-26528: Add build.os_arch params to support aarch64 
#4040
1d060eb57c is described below

commit 1d060eb57cb1b0c36f69f1ef14b1b8f6eb547ec2
Author: hidataplus <[email protected]>
AuthorDate: Mon Aug 11 11:09:19 2025 +0800

    AMBARI-26528: Add build.os_arch params to support aarch64 #4040
---
 ambari-agent/pom.xml   | 2 +-
 ambari-project/pom.xml | 1 +
 ambari-server/pom.xml  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index e58ff03956..ab36ede676 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -422,7 +422,7 @@
             <fileEncoding>utf-8</fileEncoding>
           </postremoveScriptlet>
 
-          <needarch>x86_64</needarch>
+         <needarch>${build.os_arch}</needarch>
           <autoRequires>false</autoRequires>
           <mappings>
             <mapping>
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 0245edc24d..4c06045fb8 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -25,6 +25,7 @@
   <name>Apache Ambari Project POM</name>
   <packaging>pom</packaging>
   <properties>
+    <build.os_arch>x86_64</build.os_arch>
     <skipSurefireTests>false</skipSurefireTests>
     <skipPythonTests>false</skipPythonTests>
     <skipFunctionalTests>true</skipFunctionalTests>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index b1f5f2ad39..6327e8de95 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -609,7 +609,7 @@
             <scriptFile>src/main/package/rpm/postremove.sh</scriptFile>
             <fileEncoding>utf-8</fileEncoding>
           </postremoveScriptlet>
-          <needarch>x86_64</needarch>
+         <needarch>${build.os_arch}</needarch>
           <mappings>
             <mapping>
               <directory>/etc</directory>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to