build-pkgs --reuse rebuilds some packages even without source
changes. This commit fixes the checksum comparison which was
not working correctly for all package paths.
Test Plan:
Pass: build-pkgs --reuse and no packages were rebuilt
Pass: build-pkgs (no packages were rebuilt)
Pass: make changes to 1 package and call build-pkgs to
rebuild it
Pass: build-pkgs --clean (rebuilds all local packages)
Closes-Bug: 1999941
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: Id93a692f6a69212967453e42809e66595ae01f59