Downloader scans DEB image list files and meta_data.yaml files
looking for required external files, then downloads them locally
to $BUILD_HOME/mirrors. This commit also saves the file names of such
files to a pair of list files under $MY_WORKSPACE/required_downloads:
* sources.txt: list of source-type downloads (from meta_data.yaml),
relative to their download location, .../mirrors/starlingx/sources/
* binaries.txt: list of DEB-type downloads (from download list files),
relative to their download location, .../mirrors/starlingx/binaries/
This is necessary for publishing only the required files in Jenkins.
Story: 2010226
Task: 50642
TESTS
========================================
* Delete $BUILD_HOME/mirrors/*
* Run downloader and make sure each file is recorded in
$MY_WORKPACE/required_downloads/*.txt
* Re-run downloader and make sure each file is recorded, even though
none have been downloaded during this run
* Build all packages
Change-Id: I22be91bf95bdf8afedf331c2fcba9f6fcc2176ad
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>