commit | 9f9a6be58b0acd9ec56e4dd68c5f59c2b591234d | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Tue Oct 13 18:44:20 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Tue Oct 13 18:44:20 2015 -0700 |
tree | dbdf548722da28881a9a6e152c1d255594792f39 | |
parent | c65db5caa9f3cd43acf812c28da1beb71148ce0a [diff] |
services/binary/binary: make download install the binary after downloading it This matters for packages that are archived directories. Based on the value of the new "--install" flag, download will fetch the binary and media info under a temp location and extract to the specified destination, or just download the binary and media info as the specified destination. For installation, if the binary is a regular file, a hard link (or copy) is created to the temp location. If it's an archive, it gets extracted. While at it, we also change the tar extraction logic in the packages library to work with intermediary directories. Change-Id: I58b1681a5cdc824bd4557706538d07a313ebec82
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.