summaryrefslogtreecommitdiffstats
path: root/scripts/lib/resulttool/regression.py
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@eng.windriver.com>2024-10-11 17:19:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-11 15:57:45 +0100
commit8028c989ccfc363e437da80c4791fabd7977d99b (patch)
tree9885c1e36638cc1482e730c6cc327bf7bf75b310 /scripts/lib/resulttool/regression.py
parentf8d8f08f5024f900d0260d78dd215c621ae15591 (diff)
downloadpoky-8028c989ccfc363e437da80c4791fabd7977d99b.tar.gz
wic/rootfs.py: allow --exclude-path option to exclude symlinks
Currently, if we specify a symbolic link in --exclude-path option, we will get the following error in do_image_wic: ERROR: --exclude-path: Must point inside the rootfs: usr/bin/hello.link This is because it uses os.path.realpath to eliminate symbolic links. To exclude symbolic links, use os.path.abspath instead of os.path.realpath. (From OE-Core rev: 42e829ac1e9d74646b6dfb327b18b15f6b0df60b) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/regression.py')
0 files changed, 0 insertions, 0 deletions