diff options
author | Colin Walters <walters@verbum.org> | 2014-07-31 18:50:19 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-09-03 13:21:52 -0400 |
commit | f8f5da219edd2279322bba916879fd53c2b65350 (patch) | |
tree | 2bb77d53e3568e70a164112f4b63246737fba45a /Makefile-libostree.am | |
parent | 3571418557e3a69d5e86dc464499a59df3d38315 (diff) | |
download | ostree-f8f5da219edd2279322bba916879fd53c2b65350.tar.gz |
Add repository "summary" file and metalink support
For Fedora and potentially other distributions which use globally
distributed mirrors, metalink is a popular solution to redirect
clients to a dynamic set of mirrors.
In order to make metalink work though, it needs *one* file which can
be checksummed. (Well, potentially we could explode all refs into the
metalink.xml, but that would be a lot more invasive, and a bit weird
as we'd end up checksumming the checksum file).
This commit adds a new command:
$ ostree summary -u
To regenerate the summary file. Can only be run by one process at a
time.
After that's done, the metalink can be generated based on it, and the
client fetch code will parse and load it.
https://bugzilla.gnome.org/show_bug.cgi?id=729585
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r-- | Makefile-libostree.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am index 1b756001..e7b141ae 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -112,6 +112,8 @@ if USE_LIBSOUP libostree_1_la_SOURCES += \ src/libostree/ostree-fetcher.h \ src/libostree/ostree-fetcher.c \ + src/libostree/ostree-metalink.h \ + src/libostree/ostree-metalink.c \ src/libostree/ostree-repo-pull.c \ $(NULL) libostree_1_la_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS) |