cgpt: inherit any new keys defined in child config.

In my CL to re-work cgpt, I broke hybrid_mbr usage with parent
configs as I didn't inherit all keys from the new config. This
fixes that by making the .setdefault inheritance generic.

TEST=Tested and checked that beaglebone config had hybrid_mbr=True
and all other fields looked correct for the legacy json file.

Change-Id: I238938583ce13d5f8bf7cf99073278be054b6124
Reviewed-by: Chris Sosa <>
Commit-Queue: Chris Sosa <>
Tested-by: Chris Sosa <>
1 file changed