
In the commit: 2cc754c462f4a628257f53d14d4e957d736155b4 "Message when building non-existing package", after the below assignment: "self.lists['pkgs_not_found'] = packages" actually lists['pkgs_not_found'] is simply a reference to the same object in memory as 'packages', and next 'self.lists['pkgs_not_found'].remove(pkg)' empties the value of 'packages' and causes the single packages building not quit. This fix is using python deepcopy to resolve this issue. Test Plan: Pass: build-pkgs -p <valid packages> Pass: build-pkgs -c -p <valid packages> Closes-Bug: 2015980 Signed-off-by: hqbai <haiqing.bai@windriver.com> Change-Id: I5883b0a6b07803ed12dc2df0ee7f387cfef545ae
Description
StarlingX build source tree root
Languages
Python
60.7%
Shell
38.2%
BitBake
0.6%
Dockerfile
0.5%