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

chunked: implement OSTree deduplication #1023

Merged
merged 1 commit into from Sep 24, 2021

Commits on Sep 24, 2021

  1. chunked: implement OSTree deduplication

    if the option ostree_repos is set:
    
        [storage.options]
        pull_options = {enable_partial_images = "true", ostree_repos = "/foo:/bar"}
    
    then attempt to deduplicate from the specified list of OSTree repositories.
    
    In order to be usable, an OSTree repository must be configured to track
    the checksum for its files payload (payload link), that is disabled by
    default:
    
    ostree config --repo=/path/to/repo set core.payload-link-threshold N
    
    Where N is the minimum size for files to be tracked by their payload
    and must be a nonzero value.
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a5a3c60 View commit details
    Browse the repository at this point in the history