Zhixiong Chi 7fbe548e48 stx tool: Add sub-command to download debian binary and source recipe
Now we support the new stx sub-command to download debian binary
packages and STX source recipes instead of the command debdownloader.
These two local mirrors will be created by this sub-command.

We can use the following sub-commands to finish the download work:
 $stx build download -s          [download source recipes]
 $stx build download -b          [download binary debs]
 $stx build download             [both source and binary]

Below are the default things in the host environment:
STX_MIRROR: $STX_BUILD_HOME/mirrors/starlingx
mirror for STX source: $STX_BUILD_HOME/mirrors/starlingx/sources
mirror for binary packages: $STX_BUILD_HOME/mirrors/starlingx/binaries

Story: 2008862
Task: 44243

Depends-On: https://review.opendev.org/c/starlingx/root/+/822699

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: Ieafd545cd5b0be75cdf6078ecbe2aaf6b9e3ba14
2022-01-12 01:28:38 +00:00
..
2021-12-20 09:31:02 +08:00
2021-12-20 09:31:02 +08:00