Davlet Panech 4e2470da48 downloader: save file names of required downloads
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>
2024-07-26 11:48:33 -04:00
..
2022-04-19 17:42:35 +08:00
2022-04-19 17:42:35 +08:00
2022-04-19 17:42:35 +08:00