oeqa/selftest: Apply patch to fix cpio build with -fno-common
PATCH 1/2 oeqa/selftest: Apply patch to fix cpio build with -fno-common
Signed-off-by Khem Raj <[email protected]>
--- meta/lib/oeqa/selftest/cases/meta_ide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/meta_ide.py +1 -1
@@ -43,7 +43,7 @@ class MetaIDE(OESelftestTestCase): "https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.gz", self.tmpdir_metaideQA, self.td['DATETIME'], dl_dir=dl_dir) self.project.download_archive() - self.assertEqual(self.project.run_configure(), 0, + self.assertEqual(self.project.run_configure('--disable-maintainer-mode','sed -i -e "/char \*program_name/d" src/global.c;'), 0, msg="Running configure failed") self.assertEqual(self.project.run_make(), 0, msg="Running make failed")
Signature · 1 line
2.28.0
PATCH 2/2 kexec-tools: Fix build with -fno-common on ppc
Signed-off-by Khem Raj <[email protected]>
--- .../0001-kexec-Fix-build-with-fno-common.patch | 10 ++++++++++ 1 file changed, 10 insertions(+)
meta/recipes-kernel/kexec/kexec-tools/0001-kexec-Fix-build-with-fno-common.patch +10 -0
@@ -66,3 +66,13 @@ Signed-off-by: Khem Raj <[email protected]> int bzImage64_probe(const char *buf, off_t len) { +--- a/kexec/arch/ppc/kexec-elf-ppc.c ++++ b/kexec/arch/ppc/kexec-elf-ppc.c +@@ -33,7 +33,6 @@ + static const int probe_debug = 0; + + unsigned char reuse_initrd; +-const char *ramdisk; + int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *, + char *); +
Signature · 1 line
2.28.0