From: Alejandro Hernandez Samaniego Date: Wed, 21 Jun 2023 00:36:32 +0000 (-0600) Subject: runqemu: Stop passing bindir to the runqemu-ifup call X-Git-Tag: uninative-4.1~369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9ef82727e719389b6d8ca2e9f642bfb328219b7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git runqemu: Stop passing bindir to the runqemu-ifup call Since https://git.yoctoproject.org/poky/commit/?id=51063c1e6ac we need to pass exactly 2 arguments to runqemu-ifup, otherwise the script will return an error since bindir is no longer being used. However the call to runqemu-ifup from runqemu is still passing bindir as an argument resulting in the error mentioned above, remove the bindir argument to fix this issue. [YOCTO #15150] Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index 7c6f1cb9642..bd1f8366b63 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1182,7 +1182,7 @@ to your build configuration. gid = os.getgid() uid = os.getuid() logger.info("Setting up tap interface under sudo") - cmd = ('sudo', self.qemuifup, str(uid), str(gid), self.bindir_native) + cmd = ('sudo', self.qemuifup, str(uid), str(gid)) try: tap = subprocess.check_output(cmd).decode('utf-8').strip() except subprocess.CalledProcessError as e: