Due to hashing the dependant results of a cp result, the scratch buildid
status was dropped from the buildid. Aside from an unlikely hash collision,
this does not affect other build modes, but is of course not correct.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
hash.hash_append(hc, bid)
bid = hash.hash_finish(hc)
-
- assertIsStringN(bid)
+ bid = rbs:build_mode().buildid(bid)
e2lib.logf(4, "BUILDID: cp result=%s buildid=%s", self._name, bid)