summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-13 00:21:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-14 13:07:23 +0000
commit21d97d00d59c0fabdbb44f6a39c0f9bbcd167888 (patch)
tree1ab518a32ff85a2d2ccf1b522ae1ab2912abe4af /meta/lib
parent84baf77027269f351b51d791a422a7f166e5d4a0 (diff)
downloadpoky-21d97d00d59c0fabdbb44f6a39c0f9bbcd167888.tar.gz
oeqa: Use --disable-maintainer-mode configure option
since the versions of autotools might differ on target and build host, plus difference in timestamps for configure and system can result in reconfigure lets avoid that by disabling maintainer mode Avoids error: newly created file is older than distributed files! [YOCTO #13779] Suggested-by: Andre McCurdy <armccurdy@gmail.com> (From OE-Core rev: 3dc4e27e7633ce3ca6b9647810d0996bdee48771) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildcpio.py2
-rw-r--r--meta/lib/oeqa/sdk/cases/buildcpio.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py
index 4bd72dd37e..d0f91668b2 100644
--- a/meta/lib/oeqa/runtime/cases/buildcpio.py
+++ b/meta/lib/oeqa/runtime/cases/buildcpio.py
@@ -27,6 +27,6 @@ class BuildCpioTest(OERuntimeTestCase):
27 @OEHasPackage(['autoconf']) 27 @OEHasPackage(['autoconf'])
28 def test_cpio(self): 28 def test_cpio(self):
29 self.project.download_archive() 29 self.project.download_archive()
30 self.project.run_configure() 30 self.project.run_configure('--disable-maintainer-mode','')
31 self.project.run_make() 31 self.project.run_make()
32 self.project.run_install() 32 self.project.run_install()
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py
index b0beafb38f..902e93f623 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -28,7 +28,7 @@ class BuildCpioTest(OESDKTestCase):
28 self.assertTrue(os.path.isdir(dirs["source"])) 28 self.assertTrue(os.path.isdir(dirs["source"]))
29 os.makedirs(dirs["build"]) 29 os.makedirs(dirs["build"])
30 30
31 self._run("cd {build} && {source}/configure $CONFIGURE_FLAGS".format(**dirs)) 31 self._run("cd {build} && {source}/configure --disable-maintainer-mode $CONFIGURE_FLAGS".format(**dirs))
32 self._run("cd {build} && make -j".format(**dirs)) 32 self._run("cd {build} && make -j".format(**dirs))
33 self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) 33 self._run("cd {build} && make install DESTDIR={install}".format(**dirs))
34 34