Skip to content

Commit 1d060eb

Browse files
authored
AMBARI-26528: Add build.os_arch params to support aarch64 #4040
1 parent 1b323d7 commit 1d060eb

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

ambari-agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@
422422
<fileEncoding>utf-8</fileEncoding>
423423
</postremoveScriptlet>
424424

425-
<needarch>x86_64</needarch>
425+
<needarch>${build.os_arch}</needarch>
426426
<autoRequires>false</autoRequires>
427427
<mappings>
428428
<mapping>

ambari-project/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<name>Apache Ambari Project POM</name>
2626
<packaging>pom</packaging>
2727
<properties>
28+
<build.os_arch>x86_64</build.os_arch>
2829
<skipSurefireTests>false</skipSurefireTests>
2930
<skipPythonTests>false</skipPythonTests>
3031
<skipFunctionalTests>true</skipFunctionalTests>

ambari-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@
609609
<scriptFile>src/main/package/rpm/postremove.sh</scriptFile>
610610
<fileEncoding>utf-8</fileEncoding>
611611
</postremoveScriptlet>
612-
<needarch>x86_64</needarch>
612+
<needarch>${build.os_arch}</needarch>
613613
<mappings>
614614
<mapping>
615615
<directory>/etc</directory>

0 commit comments

Comments
 (0)