The result name is passed into the build chroot as environment variable.
To prevent the same build ids for results that are equal in all but the
name, the name must be considered when calculating the build id.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
return r.build_mode.buildid(r.pbuildid)
end
local hc = hash.hash_start()
+
+ hash.hash_line(hc, r.name)
+
for _,s in ipairs(r.sources) do
local src = info.sources[s]
local source_set = r.build_mode.source_set()