--- Chroot config module.
-- @module local.chroot
--- Copyright (C) 2007-2016 emlix GmbH, see file AUTHORS
+-- Copyright (C) 2007-2022 emlix GmbH, see file AUTHORS
--
-- This file is part of e2factory, the emlix embedded build system.
-- For more information see http://www.e2factory.org
-- @field location File location.
-- @field sha1 SHA1 sum, optional
-- @field sha256 SHA256 sum, optional
+-- @field hashupdate Boolean flag, optional
--- Default chroot group names applied to all results. Locked.
chroot.groups_default = {}
"location",
"sha1",
"sha256",
+ "hashupdate",
})
if not rc then
return false, e:cat(re)
return false, e:cat(re)
end
- rc, re = file:validate_set_checksums(f.sha1, f.sha256)
+ rc, re = file:validate_set_checksums(f.sha1, f.sha256, f.hashupdate)
if not rc then
e:cat(ferr)
return false, e:cat(re)