Skip to content

Optimize PPA builds to bundle only matching architecture Python tarball #158

@rtibbles

Description

@rtibbles

Summary

PR #157 bundles python-build-standalone tarballs for both x86_64 and aarch64 in every build (~56 MB total). For PPA/Launchpad source packages, this adds ~56 MB to the .debian.tar.gz, which may strain Launchpad's space limits.

Since PPA builds are already per-architecture, we could bundle only the matching arch tarball for source package builds (~28 MB instead of ~56 MB). The offline .deb would continue to bundle both.

Approach

  • make kolibri.changes could accept an ARCH parameter and pass it to download_python.sh --arch
  • build.sh -S would only copy the single matching tarball into the source tree
  • install-python.sh already handles single-arch bundles correctly

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions