diff options
author | Haris Okanovic <haris.okanovic@ni.com> | 2015-11-17 14:21:12 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:07:19 +0000 |
commit | 2658200fa2b3df08880ee937a3de5cb2866f8a50 (patch) | |
tree | bfb84d0ca0a7ad6aa6594c17acd6b755dc917e27 /meta/classes/distutils-native-base.bbclass | |
parent | 9e30e849eda3b0a0c54d3f7ed0102760fdaef06c (diff) | |
download | openembedded-core-2658200fa2b3df08880ee937a3de5cb2866f8a50.tar.gz openembedded-core-2658200fa2b3df08880ee937a3de5cb2866f8a50.tar.bz2 openembedded-core-2658200fa2b3df08880ee937a3de5cb2866f8a50.zip |
populate_sdk_base: Add sysroot symlink check
Add optional check to do_populate_sdk() that verifies SDK sysroots don't
contain dangling or escaping symlinks before attempting to tar an archive.
Such links may fail a `tar -h` operation (-h => follow symlinks) or
archive the build system's files.
Set CHECK_SDK_SYSROOTS = "1" to enable this check.
Use case: The -h option may be set via SDKTAROPTS in some configurations
to create symlink-less SDK archives for Windows file systems.
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/distutils-native-base.bbclass')
0 files changed, 0 insertions, 0 deletions