summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys.py
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2024-02-09 20:27:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-10 14:13:24 +0000
commit0010d9fbd25c343ecb18014cbe5d0dd036edb651 (patch)
tree13bddbb8c6002fdae7ba149a825dd36a9dfedfdd /scripts/lib/recipetool/create_buildsys.py
parent9e6e34210a3e89fee166fa5bbab888cd29ebf981 (diff)
downloadpoky-0010d9fbd25c343ecb18014cbe5d0dd036edb651.tar.gz
systemd.bbclass: Check for existence of the symlink too
If the packages' service file is a link to parameterized service file provided by different package [1] then link is dangling link at do_package stage and os.path.exists(path) returns False even if the link exists. Replace os.path.exists with lexists to fix this issue. [1] An example: Package A provides myservice@.service Package B depends and rdepends on A and provides: myservice@B.service -> myservice@.service (From OE-Core rev: e2b638dcd6b7c51f7ee2cd4bc051d6b12e642d6c) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
0 files changed, 0 insertions, 0 deletions