]> code.ossystems Code Review - openembedded-core.git/commit
combo-layer: handle unset dest_dir in sanity_check()
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 20 May 2015 11:48:20 +0000 (13:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 May 2015 12:00:52 +0000 (13:00 +0100)
commitb266977372f2d5704d00dd07b29ea49898ebf70e
tree7c64965ae0f4b2e70093fc3fcf85faa596713a31
parent1bc46199e569411150b050818ff17abc66f899f2
combo-layer: handle unset dest_dir in sanity_check()

The previous "clean up dest_dir checking" patch (f8cdbe7497) improved
handling of empty dest_dir but made handling of unset dest_dir worse:
instead showing the "Option dest_dir is not defined for component ..."
error, it fails with a Python exception.

Avoid that by providing a sane fallback for the unset case. With that
change, dest_dir is no longer strictly required, but the check for it
is kept to ensure that a combo-layer.conf also works with older
combo-layer versions.

[Yocto #7773]

(From OE-Core rev: d4bf858b2c15bef128fd6d606b08203a318e2d4c)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/combo-layer