summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/runtime/cases/buildcpio.py3
-rw-r--r--meta/lib/oeqa/sdk/cases/buildcpio.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py
index d0f91668b2..e29bf16ccb 100644
--- a/meta/lib/oeqa/runtime/cases/buildcpio.py
+++ b/meta/lib/oeqa/runtime/cases/buildcpio.py
@@ -27,6 +27,7 @@ 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('--disable-maintainer-mode','') 30 self.project.run_configure('--disable-maintainer-mode',
31 'sed -i -e "/char \*program_name/d" src/global.c;')
31 self.project.run_make() 32 self.project.run_make()
32 self.project.run_install() 33 self.project.run_install()
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py
index 902e93f623..e565826541 100644
--- a/meta/lib/oeqa/sdk/cases/buildcpio.py
+++ b/meta/lib/oeqa/sdk/cases/buildcpio.py
@@ -28,6 +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("sed -i -e '/char.*program_name/d' {source}/src/global.c".format(**dirs))
31 self._run("cd {build} && {source}/configure --disable-maintainer-mode $CONFIGURE_FLAGS".format(**dirs)) 32 self._run("cd {build} && {source}/configure --disable-maintainer-mode $CONFIGURE_FLAGS".format(**dirs))
32 self._run("cd {build} && make -j".format(**dirs)) 33 self._run("cd {build} && make -j".format(**dirs))
33 self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) 34 self._run("cd {build} && make install DESTDIR={install}".format(**dirs))