Skip to content

Conversation

athivvat
Copy link
Member

No description provided.

athivvat added 8 commits July 23, 2025 11:24
Specifies Ubuntu 22.04 for the build workflow,
ensuring compatibility with the latest software
and security updates.
Addresses issues with cross-compilation for ARM64 Linux by adding necessary repositories and disabling conflicting ones.

This ensures that the build process can correctly install required dependencies for ARM64 targets.
Adds dedicated apt repository configuration for arm64
to avoid modifying the base system configuration.

This change also updates the installation process
to use a more streamlined approach, installing all
necessary cross-compilation tools in a single step,
and prevents installing recommended packages to reduce disk usage.
Configures separate package repositories for amd64 and arm64
architectures to ensure correct package resolution during build.
This prevents conflicts and ensures that the correct architecture-
specific packages are used.
Replaces manual source list creation with `add-apt-repository` for arm64, streamlining the build process. This ensures proper repository setup for arm64 architecture when building the CLI.
Ensures a clean and reliable cross-compilation environment for aarch64 Linux by explicitly managing APT configurations.

This change addresses potential issues with mixed-architecture package installations by:

-   Cleaning previous APT configurations and caches.
-   Explicitly defining amd64 repositories in the main sources.list.
-   Creating a separate sources.list for arm64, pointing to the correct ports repository.
Ensures that the `libc6-dev:arm64` package is installed during the build process for ARM64 architectures. This resolves potential build failures due to missing header files or libraries.
Ensures the signature generated for the update manifest
is correctly formatted by removing newline characters.
This prevents issues with signature verification on macOS.
@athivvat athivvat merged commit ba386ad into main Jul 23, 2025
3 checks passed
@athivvat athivvat deleted the fix-github-workflow branch July 23, 2025 07:01
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.

1 participant