diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:55:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:55:55 +0000 |
commit | dad74bd4746ef81c59a2a9e7fdbb30838d0d2582 (patch) | |
tree | 79124cc311c7ea7bfebb30f994890826045dca5a /meta/classes/sanity.bbclass | |
parent | d9913c3d7da01d5bbe84728e9cb7701669362e2b (diff) | |
download | openembedded-core-contrib-dad74bd4746ef81c59a2a9e7fdbb30838d0d2582.tar.gz |
Revert "sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap"
This reverts commit c5a6cc4146402620851e2a1f2b01d69989150ba2.
This was accientally added and shouldn't have been, it has a v2 and was then
determined not to be required.
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 34215ebfb2..c6842ff549 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -710,14 +710,6 @@ def check_sanity_version_change(status, d): if i and workdir.startswith(i): status.addresult("You are building in a path included in PSEUDO_IGNORE_PATHS " + str(i) + " please locate the build outside this path.\n") - # Check if PSEUDO_IGNORE_PATHS and ${S} overlap - pseudoignorepaths = d.getVar('PSEUDO_IGNORE_PATHS', expand=True).split(",") - sourcefile = d.getVar('S') - for i in pseudoignorepaths: - if i and sourcefile: - if sourcefile.startswith(i) or i.startswith(sourcefile): - status.addresult("a path included in PSEUDO_IGNORE_PATHS " + str(i) + " and ${S} (source files) path " + str(sourcefile) + " are overlapping each other, please set ${S} in your recipe to point to a different directory. \n") - # Some third-party software apparently relies on chmod etc. being suid root (!!) import stat suid_check_bins = "chown chmod mknod".split() |