From: Harish Sadineni Date: Thu, 8 Aug 2024 14:50:39 +0000 (-0700) Subject: gcc-runtime: enabling "network" task specific flag X-Git-Tag: yocto-5.2~2094 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35782416823fa863d26a338256f642f6bc480a96;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc-runtime: enabling "network" task specific flag Adding a "network" task specific flag which then triggers networking to be enabled for this task, it is otherwise disabled which will cause failures while running oe-selftest. Fixes the following issues while running oe-selftest for gcc: 1)ssh: connect to host X.X.X.X port 22: Network is unreachable. 2)Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf. Signed-off-by: Harish Sadineni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 8e0d1a6889c..7afe34ebed7 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -292,6 +292,7 @@ do_check[prefuncs] += "extend_recipe_sysroot" do_check[prefuncs] += "check_prepare" do_check[dirs] = "${WORKDIR}/dejagnu ${B}" do_check[nostamp] = "1" +do_check[network] = "1" do_check() { export DEJAGNU="${WORKDIR}/dejagnu/site.exp"