diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-05-20 13:48:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-29 13:01:37 +0100 |
commit | 508c4cac320d78a983ce105a78c0599102e2c349 (patch) | |
tree | 1034333e191ae3624916c4dac8062484e7a118c7 /scripts/rootfs_rpm-extract-postinst.awk | |
parent | e9ae2f8417d65eb3bce3f5811d3e017c3d0596b3 (diff) | |
download | poky-508c4cac320d78a983ce105a78c0599102e2c349.tar.gz |
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)
(From OE-Core rev: b266977372f2d5704d00dd07b29ea49898ebf70e)
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>
Diffstat (limited to 'scripts/rootfs_rpm-extract-postinst.awk')
0 files changed, 0 insertions, 0 deletions