Skip to content

Commit

Permalink
utils: refactor uhd_images_downloader
Browse files Browse the repository at this point in the history
Changing structure of the files.ettus.com images directory, and
updating uhd_images_downloader correspondingly. The images downloader
now downloads a number of smaller archives of images, instead of one
large archive containing all of our images. Furthermore, the images
downloader maintains an inventory of currently installed images, so
that images are not redownloaded unnecessarily.

When called with no arguments, behavior should not change.

CMake variables are used to populate a number of fields in the images
downloader, including the contents of the manifest file.

Reviewed-by: Martin Braun <martin.braun@ettus.com>
Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
  • Loading branch information
brentstapleton authored and mbr0wn committed Jan 23, 2018
1 parent 37d4eab commit 28405e5
Show file tree
Hide file tree
Showing 4 changed files with 370 additions and 333 deletions.
1 change: 1 addition & 0 deletions host/utils/CMakeLists.txt
Expand Up @@ -121,6 +121,7 @@ IF(ENABLE_X300)
ENDIF(ENABLE_X300)

#UHD images downloader configuration
FILE(READ ${CMAKE_CURRENT_SOURCE_DIR}/../../images/manifest.txt CMAKE_MANIFEST_CONTENTS)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/uhd_images_downloader.py.in
${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py
Expand Down

0 comments on commit 28405e5

Please sign in to comment.