Skip to content

Conversation

@mjcheetham
Copy link
Contributor

Detect the runtime (linux-x64/linux-arm64/etc) from the current host architecture if not specified via the --runtime argument.

We had already been doing this in the script, but after we already die-d when --runtime was missing! Oops.

Let's move this auto-detection logic up-front, and also no longer rely on dpkg-architecture to determine the host arch; we can use uname -m instead.

Detect the runtime (linux-x64/linux-arm64/etc) from the current host
architecture if not specified via the `--runtime` argument.

We had already been doing this in the script, but after we already
`die`-d when `--runtime` was missing! Oops.

Let's move this auto-detection logic up-front, and also no longer rely
on `dpkg-architecture` to determine the host arch; we can use `uname -m`
instead.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
@mjcheetham mjcheetham requested a review from a team as a code owner December 18, 2025 13:10
@mjcheetham mjcheetham requested a review from xfabo1 December 18, 2025 13:10
Copy link
Contributor

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@mjcheetham mjcheetham merged commit f2626d4 into git-ecosystem:main Dec 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants