]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: build: Disable warning about dependent tasks for now
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 May 2019 22:06:53 +0000 (23:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 May 2019 22:09:08 +0000 (23:09 +0100)
This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).

(Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py
bitbake/lib/bb/tests/parse.py

index 8ad9f5de2a32c40391beb31b8c1389c655a52369..a228b05ddd6ed2f2dce3d11eb300067a57164f80 100644 (file)
@@ -818,8 +818,8 @@ def add_tasks(tasklist, d):
         if 'deps' in flags:
             for dep in flags['deps']:
                 # Check and warn for "addtask task after foo" while foo does not exist
-                if not dep in tasklist:
-                    bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
+                #if not dep in tasklist:
+                #    bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
                 dep = d.expand(dep)
                 task_deps['parents'][task].append(dep)
 
index aa7adc40f27b9878bfb43f87f4155f70a9fa86af..747fc35fc29d40b35f3dabd0e81becc151aa7ee1 100644 (file)
@@ -203,5 +203,5 @@ deltask do_fetch do_patch
         self.assertTrue("addtask contained multiple 'after' keywords" in stdout)
         self.assertTrue('addtask ignored: " do_patch"' in stdout)
         self.assertTrue('deltask ignored: " do_patch"' in stdout)
-        self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout)
+        #self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout)