Re: [PATCH yocto-autobuilder-helper] config.json: add binutils to images where it's required by tests


Richard Purdie
 

On Wed, 2020-08-26 at 17:54 +0200, Alexander Kanavin wrote:
Previously it was pulled in implicitly via poky default config.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
config.json | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/config.json b/config.json
index b78cba7..25be864 100644
--- a/config.json
+++ b/config.json
@@ -452,6 +452,7 @@
"step2" : {
"SANITYTARGETS" : "core-image-sato:do_testimage",
"extravars" : [
+ "IMAGE_INSTALL_append = ' binutils'",
"TEST_SUITES_append = ' x32lib'"
]
}
@@ -501,7 +502,7 @@
"MULTILIBS = 'multilib:lib32'",
"DEFAULTTUNE_virtclass-multilib-lib32 = 'x86'",
"RPM_PREFER_ELF_ARCH = '1'",
- "IMAGE_INSTALL_append = ' lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc'"
+ "IMAGE_INSTALL_append = ' binutils lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc'"
]
},
"step4" : {
@@ -514,7 +515,7 @@
"MULTILIBS = 'multilib:lib32'",
"DEFAULTTUNE_virtclass-multilib-lib32 = 'x86'",
"RPM_PREFER_ELF_ARCH = '1'",
- "IMAGE_INSTALL_append = ' lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc'"
+ "IMAGE_INSTALL_append = ' binutils lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc'"
]
},
"step5" : {
I suspect we need binutils-symlinks instead of binutils?

Also, thinking about this more, why aren't these tests scp'ing the file
to the host system and running readelf there? That would remove the
need for the dependency?

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.