]> git.e2factory.org Git - e2factory.git/commitdiff
chroot: remove the default_groups minimum limit
authorTobias Ulmer <tu@emlix.com>
Tue, 28 Feb 2017 19:47:30 +0000 (20:47 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 28 Feb 2017 19:47:42 +0000 (20:47 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/chroot.lua

index 58f083586c41ff0fae7fbcb62a86a0b88fb514de..d1ae964507c2a2617ecf71ece1c26b654428b94e 100644 (file)
@@ -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