Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up contents from previously-sb tarball post binary-cleanup #40772

Commits on May 8, 2024

  1. Clean up contents from previously-sb tarball post binary-cleanup

    If we extracted the previously-source-build tarball only for running the
    binary cleanup tool, clean up the extracted contents. This undo's the
    extraction operation that was only performed for running the
    binary-cleanup tool.
    
    I am creating a tarball for building .NET offline post-prep. In that
    scenario, I run ./prep-source-build.sh --bootstrap, and then package up
    the entire VMR directory into a tarball. Without this cleanup, there are
    a ton of duplicated binaries in the tarball, since the nuget packages
    are both in previously-source-built archive and in an extracted form.
    With this change, the archive size goes from just over 4GB to just over
    2GB.
    
    This is a port of dotnet/installer#19632 from
    installer repo to sdk.
    omajid committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8038487 View commit details
    Browse the repository at this point in the history