Commit graph

2 commits

Author SHA1 Message Date
Sen Jiang
1b4141fbdf fileslist: hash the content of symlink, not the file it points to.
IsDir() doesn't handle the case where the file is a symlink to a
directory, which cause fileslist to crash.

The hash is used to validate whether system image is the same, so
hashing the content of symlink makes more sense.

Bug: 36274890
Test: joule builds
Change-Id: I6359418a5b28f8da13f85b01a30a72228fecf4ce
2017-03-29 13:43:41 -07:00
Makoto Onuki
620e6ad381 Add fileslist.go to calculate hashes in parallel
Bug: 36274890
Test: Manual

Change-Id: I548da5607cf3b993ad21cbb04a57fcbd5bfb7f51
2017-03-24 10:16:39 -07:00