Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56d7c008 authored by Cole Faust's avatar Cole Faust
Browse files

Revert "Fix inheritance order"

This reverts commit 670c587c.

Reason for revert: Breaks RBC product config for more products than it fixes: b/228044099

Change-Id: I614663311f67b3631a0cee427453c550fc426c8b
parent 670c587c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -167,8 +167,8 @@ def _product_configuration(top_pcm_name, top_pcm, input_variables_init):
        # Now we know everything about this PCM, record it in 'configs'.
        children = handle.inherited_modules
        if _options.trace_modules:
            print("#   ", "    ".join(sorted(children.keys())))
        configs[name] = (pcm, handle.cfg, sorted(children.keys()), False)
            print("#   ", "    ".join(children.keys()))
        configs[name] = (pcm, handle.cfg, children.keys(), False)
        pcm_count = pcm_count + 1

        if len(children) == 0:
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ load(":inherit2.rbc", _inherit2_init = "init")

def init(g, handle):
  cfg = rblf.cfg(handle)
  rblf.inherit(handle, "test/inherit2", _inherit2_init)
  rblf.inherit(handle, "test/inherit1", _inherit1_init)
  rblf.inherit(handle, "test/inherit2", _inherit2_init)

  cfg["PRODUCT_DEFAULT_DEV_CERTIFICATE"] = ""