Fix this to calculate all required BuildIds in advance.
That way many errors will be detected earlier in the process.
Signed-off-by: Gordon Hecker <gh@emlix.com>
NEXT:
+ * BuildIds are now calculated in advance to detect errors immediately
+ before starting the first build process
e2factory-2.3.6
* the release build process changed: Results are now stored on the
end
end
--- calculate build ids ids
-e2tool.calc_buildids(info)
+-- calculate buildids for selected results
+for _,r in ipairs(sel_res) do
+ local bid, re = e2tool.buildid(info, r)
+ if not bid then
+ e2lib.abort(re)
+ end
+end
if opts["buildid"] then
for _,r in ipairs(sel_res) do