summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2023-06-20 18:36:32 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-21 09:05:26 +0100
commitf9d22f26346564e1033539d6b4eb99d1ff280b85 (patch)
tree083f63d1fe779622f4d541d77617cb353cc78fa1 /scripts/runqemu
parent3d8f1423fae3e3cceed7ab28034a91f65df8c0d1 (diff)
downloadpoky-f9d22f26346564e1033539d6b4eb99d1ff280b85.tar.gz
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] (From OE-Core rev: b9ef82727e719389b6d8ca2e9f642bfb328219b7) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 7c6f1cb964..bd1f8366b6 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1182,7 +1182,7 @@ to your build configuration.
1182 gid = os.getgid() 1182 gid = os.getgid()
1183 uid = os.getuid() 1183 uid = os.getuid()
1184 logger.info("Setting up tap interface under sudo") 1184 logger.info("Setting up tap interface under sudo")
1185 cmd = ('sudo', self.qemuifup, str(uid), str(gid), self.bindir_native) 1185 cmd = ('sudo', self.qemuifup, str(uid), str(gid))
1186 try: 1186 try:
1187 tap = subprocess.check_output(cmd).decode('utf-8').strip() 1187 tap = subprocess.check_output(cmd).decode('utf-8').strip()
1188 except subprocess.CalledProcessError as e: 1188 except subprocess.CalledProcessError as e: