]> git.e2factory.org Git - e2factory.git/commitdiff
Explicitly load e2util module in e2lib
authorTobias Ulmer <tu@emlix.com>
Fri, 14 Dec 2012 12:21:34 +0000 (13:21 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 26 Feb 2013 18:07:13 +0000 (19:07 +0100)
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 <tu@emlix.com>
generic/e2lib.lua

index fe424c45382946fa89ca60679e7a3ecf2d800a94..cb0850fe2121f8b30e3cb726d350afb23b396660 100644 (file)
@@ -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")