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.

(From OE-Core rev: 35782416823fa863d26a338256f642f6bc480a96)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Harish Sadineni
2024-08-08 07:50:39 -07:00
committed by Richard Purdie
parent e5176979ef
commit 4485677cdb

View File

@@ -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"