Commit c74e08e5 authored by Aurélien Dunand's avatar Aurélien Dunand Committed by Sébastien Luttringer
Browse files

Add source image in build scripts context

parent 6ef7105b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -414,7 +414,8 @@ class SourceImage(Image):
                raise Exception("Unable to compile %s fail: %s" %
                                (fn, e))
            # define execution context
            gl = {"rebuild": rebuild_list}
            gl = {"rebuild": rebuild_list,
                  "image": self}
            # execute source code
            try:
                exec o_scripts in gl