]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
runqemu: Fix automated call to runqemu-ifup
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Mon, 26 Jun 2023 13:29:25 +0000 (15:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jun 2023 06:55:00 +0000 (07:55 +0100)
commitce3a2f4cec28290c8e530989f17243f1ada4e3bd
treeadab1c30cbb484ec7455bb5f891028df0768e9f8
parent9263497880b3154d65ed713498749f906534a055
runqemu: Fix automated call to runqemu-ifup

When runqemu tries to call runqemu-ifup to create tap devices, it checks the
output of runqemu-ifup to get the newly created tap device.

The behavior of runqemu-ifup was recently modified along with its output, it
no longer expects the uid parameter to be passed and it prints out a warning
if it was, since this warning was now part of the output runqemu tries to parse
it and convert it to an int() which proved impossible.

Pass the correct arguments to the runqemu-ifup call and echo the warning
to stderr instead to make sure its not being parsed and used by runqemu in any
case.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu
scripts/runqemu-ifup