Michael Semb Wever created CASSANDRA-16428:
----------------------------------------------

             Summary: Fix debian packaging on arm64
                 Key: CASSANDRA-16428
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16428
             Project: Cassandra
          Issue Type: Task
          Components: Build, Packaging
            Reporter: Michael Semb Wever


The debian docker 
[image|https://github.com/apache/cassandra-builds/blob/trunk/docker/buster-image.docker]
 used by the 
[cassandra-deb-packaging.sh|https://github.com/apache/cassandra-builds/blob/trunk/build-scripts/cassandra-deb-packaging.sh]
 tries to set the jdk like
{code}
update-java-alternatives --set java-1.8.0-openjdk-amd64
{code}

This won't work on arm64.
Suggestion is to replace it with the following:
{code}
update-java-alternatives --set $(update-java-alternatives -l | cut -d" " -f1 | 
grep java-1.8)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to