Yue Tao d4c3be5e2a debdownloader: fix always downloading some packages
Binaries are downloaded via apt cache function candidate.fetch_binary,
which removes the "epoch" section from the package version in .deb file.
For example, libsm6=2:1.2.3-1, the "epoch" is "2:". The .deb file is
libsm6_1.2.3-1_amd64.deb, rather than libsm6_2%3a1.2.3-1_amd64.deb.

Either "pname_x86" or "pname_all" uses the full version to match the
binary file in local download folder, so it always mismatches.

Removing "epoch" before matching the .deb file.

Story: 2008846
Task: 43153

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I827f5195ce757384a7efb88b1d7f7daddfb93f9f
2021-11-18 10:00:11 +08:00
2021-06-08 15:44:00 -04:00
2019-04-19 19:52:37 +00:00
2018-06-01 07:45:23 -07:00
2021-06-29 11:20:52 -04:00
Description
StarlingX build source tree root
12 MiB
Languages
Python 62%
Shell 36.9%
BitBake 0.6%
Dockerfile 0.5%