summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-30 10:55:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-30 10:55:58 +0000
commit87cb7577db20935232d37a5d4f7978376b9a1a95 (patch)
treef27b3c351713cea4d3c07ef9654ba39322656e6d /meta
parent4dd9b84991cd7c5a5ed5035a3df4ba2f287539d6 (diff)
downloadpoky-87cb7577db20935232d37a5d4f7978376b9a1a95.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass8
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):
710 if i and workdir.startswith(i): 710 if i and workdir.startswith(i):
711 status.addresult("You are building in a path included in PSEUDO_IGNORE_PATHS " + str(i) + " please locate the build outside this path.\n") 711 status.addresult("You are building in a path included in PSEUDO_IGNORE_PATHS " + str(i) + " please locate the build outside this path.\n")
712 712
713 # Check if PSEUDO_IGNORE_PATHS and ${S} overlap
714 pseudoignorepaths = d.getVar('PSEUDO_IGNORE_PATHS', expand=True).split(",")
715 sourcefile = d.getVar('S')
716 for i in pseudoignorepaths:
717 if i and sourcefile:
718 if sourcefile.startswith(i) or i.startswith(sourcefile):
719 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")
720
721 # Some third-party software apparently relies on chmod etc. being suid root (!!) 713 # Some third-party software apparently relies on chmod etc. being suid root (!!)
722 import stat 714 import stat
723 suid_check_bins = "chown chmod mknod".split() 715 suid_check_bins = "chown chmod mknod".split()