From: Tobias Ulmer Date: Tue, 28 Feb 2017 19:47:30 +0000 (+0100) Subject: chroot: remove the default_groups minimum limit X-Git-Tag: e2factory-2.3.17~11 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=09f970be0b9458a8a398ef99160a888d14a0e7c9;p=e2factory.git chroot: remove the default_groups minimum limit Signed-off-by: Tobias Ulmer --- diff --git a/local/chroot.lua b/local/chroot.lua index 58f0835..d1ae964 100644 --- a/local/chroot.lua +++ b/local/chroot.lua @@ -290,15 +290,9 @@ function chroot.load_chroot_config() end table.insert(chroot.groups_default, g) end + table.sort(chroot.groups_default) strict.lock(chroot.groups_default) - - --- XXX: remove, there is no reason to enforce a default group - if #chroot.groups_default == 0 then - return false, - e:append("`default_groups' attribute is missing or empty list") - end - return true end