From: Tobias Ulmer Date: Fri, 14 Dec 2012 12:21:34 +0000 (+0100) Subject: Explicitly load e2util module in e2lib X-Git-Tag: e2factory-2.3.13rc1~63 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=ec3e4701995a6f5d5e2346b8b3bc854a1624f59a;p=e2factory.git Explicitly load e2util module in e2lib It's a C module, so it does not share the strict loading requirements of the new Lua modules. Load it explicitly, otherwise many functions in e2lib will terminate with a backtrace unless another module loaded e2util before. Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index fe424c4..cb0850f 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -48,6 +48,7 @@ local e2lib = {} package.loaded["e2lib"] = e2lib require("buildconfig") +require("e2util") local lock = require("lock") local err = require("err") local plugin = require("plugin")