From patchwork Mon Jun 26 13:29:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 26412 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBCC2EB64D7 for ; Mon, 26 Jun 2023 13:33:23 +0000 (UTC) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web10.7923.1687786400779421527 for ; Mon, 26 Jun 2023 06:33:21 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=pxUSxdoX; spf=pass (domain: gmail.com, ip: 209.85.218.49, mailfrom: adrian.freihofer@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-991f956fb5aso14335266b.0 for ; Mon, 26 Jun 2023 06:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687786399; x=1690378399; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZreLsgvNtw480fcNhxbgWplh0vR/VgsyPhM3641MPPA=; b=pxUSxdoXzDVVlX8qJ5h/j8QGQwKHl/51oq8QCHm8EmZp3DBF1phgoeGR8WHZgnotX7 uNTZW+E/gtxP9+vxsRsBfmKWWNzhCSl4M4qjBP5ZicdrQE8i40m6R8jnrQqXoV3eNono RNlUjYDpGYMWJ2x2aizEITbJEfvLE5r78loG1e3P/7mXLjt2zFDrrENHvFF/UPiFgJIa EFZk9MDIZ1iK8foI+xu1wa2EDyaTjKG/fdnNNQyTTX4ZTagfIOMyCQdkiOcVSQvqRvSV FiDEtIzhIjbssf/xyEqQK05XgdlDoXkq6scwLEEOfr7y4tjvUPFGzy/A+XI0K1SD1hie twAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687786399; x=1690378399; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZreLsgvNtw480fcNhxbgWplh0vR/VgsyPhM3641MPPA=; b=Rjo9k5qCkVOU2LI3/PRzmub2AH/TDvDaCzw0oFO+scl+ctwZdbTIiOvcmbkJEOZbPG 8yD2WmpgReTr5+Z/tpZKUG1izuVTSjRt7rCHRVASALUoqIKzb0ihAgu3sMPAJSqTqCyW T0B8vIXuy3qUMVpmaNS+mpqbkY4BHnS+BrV5xHDLo4axVSJQaaHyJmaKUtPbIycAxXPa gYA41WSro1YY6o0wThYtQZsYjxJsiZ5bB1aXhkiuh7zuK/l47QCCRbN0xQ7pswX4L6UI TfItcNrbjL+WE7Hu6o9RXj+vPCJV7mgyd8Q0t0oiWPT7kyD977+/LmdGHIvnWgjSGMmF Tkgg== X-Gm-Message-State: AC+VfDyPUuKxJFOeb0fmG1pcNZrTpr/pKQy8cU6dSaAdzC+YamjuHh+/ hJEzNz6kaCSpHr88LVAKRg/K971sQ14zYg== X-Google-Smtp-Source: ACHHUZ4dX2MG1ZLfnmZlT0c1nDWwmc/4F4PlFbjPXsjDx3aKXsF/+ckjCZYwL3bkkH53tk65tXXZeQ== X-Received: by 2002:a17:907:74b:b0:971:484:6391 with SMTP id xc11-20020a170907074b00b0097104846391mr19478092ejb.20.1687786398914; Mon, 26 Jun 2023 06:33:18 -0700 (PDT) Received: from t14s-af.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id h13-20020a1709060f4d00b0097073f1ed84sm3301988ejj.4.2023.06.26.06.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 06:33:18 -0700 (PDT) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Alejandro Hernandez Samaniego Subject: [PATCH 1/4] runqemu: Stop using warn() since its been deprecated Date: Mon, 26 Jun 2023 15:29:24 +0200 Message-ID: <20230626133213.47920-2-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230626133213.47920-1-adrian.freihofer@siemens.com> References: <20230626133213.47920-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Jun 2023 13:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183414 From: Alejandro Hernandez Samaniego logger.warn() has been deprecated, logger.warning() should be used instead. Signed-off-by: Alejandro Enedino Hernandez Samaniego --- scripts/runqemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index e1aa5a925c8..3f187ca793c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -648,10 +648,10 @@ to your build configuration. elif fsflag == 'kernel-in-fs': wic_fs = False else: - logger.warn('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) + logger.warning('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) continue else: - logger.warn('QB_FSINFO is not supported for image type "%s"', fstype) + logger.warning('QB_FSINFO is not supported for image type "%s"', fstype) continue if fstype in self.fsinfo: From patchwork Mon Jun 26 13:29:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 26413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0515EB64DD for ; Mon, 26 Jun 2023 13:33:23 +0000 (UTC) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by mx.groups.io with SMTP id smtpd.web10.7924.1687786401452267882 for ; Mon, 26 Jun 2023 06:33:21 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=dvIXQtrj; spf=pass (domain: gmail.com, ip: 209.85.218.53, mailfrom: adrian.freihofer@gmail.com) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-988b204ce5fso411051166b.3 for ; Mon, 26 Jun 2023 06:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687786399; x=1690378399; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dYLczQrVra/UbU0Cgi7PND809G/pCOaHio+YUlWyGT0=; b=dvIXQtrjooguV8aaaBmLUgbZPtC/shxWZTaJH94HRuW8eIJNsOeIm4p3zkusn/Q07F Xg+OD5jKr6pd7blzonOtuHBv8u74ZchDklgMjTnYmGMnL5GkpslT66YPI4o88MD33oNo xbb1QEcmIUvESaTtc/aYpIanxFuwgxjm9I6b4szDEGzrR3XBk2pysmuQy9ZAmNv7Qj51 qKjsRYCudHd2vfYFlX1lf+1p+H9fCeehmgY4yNmBunqIslvZwi59alKnKFZH/sFRSssc NdoHUKjBoxxL/cS9JjazHDJuQxHeklhlJGo1ud3dYy5esmWCC7ANuZvzIPFhWp1zKQGm 5Nqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687786399; x=1690378399; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dYLczQrVra/UbU0Cgi7PND809G/pCOaHio+YUlWyGT0=; b=gDek4p6e+1TXR02IHeOQrXsz4O3DMJfmwEChgEK+aQlXS4F0Q+KSYpknJrCkConaku 0ODy1weBneHTPkzIB7WCDBYJG0TFoKVocxhEAdmr1G7AQTNgs4sh3xZpcD90xKen6Lfo trwgwpy11MEYj9uoW74bjTPq4O9UNmUh7m/aRBZKYgMOzVMRDKCRhV8DxzGfIPwEflwm I5WKOXgMGq+d0sPdvHcWg/il4DbZHdrTa4pAU7O1rq7nWvjxhEfPfs56NNNx8Mw/GtLW IJnAXVH19mLRta9wN/wMyYkz5MR9+mRJ4lUyG7Y6qjBDSInLi/ONK+IeW369Cnd87KRF CH3A== X-Gm-Message-State: AC+VfDxkzz5HXsxBYp34qNAhJJxICk9Na0ugNAtmuFHbevr7P/zrdTzv Kr0ryUBbxXlublllfChfYnWoVVfkYPkvkA== X-Google-Smtp-Source: ACHHUZ7UoO7ZR466pdnY0JHYvbk06ZqvAR1Dl2j0UVsD8U7bimDGQ8XdsLNJ394th2iVNF18sdmx9g== X-Received: by 2002:a17:906:6488:b0:98d:5333:79c with SMTP id e8-20020a170906648800b0098d5333079cmr8615787ejm.5.1687786399684; Mon, 26 Jun 2023 06:33:19 -0700 (PDT) Received: from t14s-af.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id h13-20020a1709060f4d00b0097073f1ed84sm3301988ejj.4.2023.06.26.06.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 06:33:19 -0700 (PDT) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Alejandro Hernandez Samaniego Subject: [PATCH 2/4] runqemu: Fix automated call to runqemu-ifup Date: Mon, 26 Jun 2023 15:29:25 +0200 Message-ID: <20230626133213.47920-3-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230626133213.47920-1-adrian.freihofer@siemens.com> References: <20230626133213.47920-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Jun 2023 13:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183415 From: Alejandro Hernandez Samaniego 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 --- scripts/runqemu | 2 +- scripts/runqemu-ifup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 3f187ca793c..6a3fbb2d6fe 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1186,7 +1186,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)) + cmd = ('sudo', self.qemuifup, str(gid)) try: tap = subprocess.check_output(cmd).decode('utf-8').strip() except subprocess.CalledProcessError as e: diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index c65ceaf1c83..05c9325b6bd 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup @@ -30,7 +30,7 @@ if [ $EUID -ne 0 ]; then fi if [ $# -eq 2 ]; then - echo "Warning: uid parameter is ignored. It is no longer needed." + echo "Warning: uid parameter is ignored. It is no longer needed." >&2 GROUP="$2" elif [ $# -eq 1 ]; then GROUP="$1" From patchwork Mon Jun 26 13:29:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 26414 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20B7DEB64DC for ; Mon, 26 Jun 2023 13:33:24 +0000 (UTC) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mx.groups.io with SMTP id smtpd.web10.7926.1687786402833535954 for ; Mon, 26 Jun 2023 06:33:23 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=JKn8Sglv; spf=pass (domain: gmail.com, ip: 209.85.218.51, mailfrom: adrian.freihofer@gmail.com) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-98df3dea907so277953466b.3 for ; Mon, 26 Jun 2023 06:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687786401; x=1690378401; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FidzQexKtkouU1qkbBHNf0sLtxCwSpPvwbfWM54cmB0=; b=JKn8SglvNwaOSltuP4tDRIO6sNmLjWGKyeluZkaqomEGu0SAzUEknvtgu46D1S2Bw0 Jbzpo9HCbiFf8nfsq+tce2LEfkMldxradpTSgeFhXepIlHLS7iSKquDtM0Wf37R/emTZ 3Jf/AkmJ1nmrWg4a/+cGkhXe1IlKkg9x2oFLyVU+KtzFQMtoDgWzAaExNnuumwjIOe7f hIriy7chZ14khRuGf4QouLBqiGkzxTRAgCOboFH/wcSSnY/3a933Ws5lt/+SpvPDU81O JgU5skOEbkRQGfriIj/fer3wJ9EAlyVt9dj61OX0Ks8d3Dv9JCljDJKpphHnqmyJz4gV FiKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687786401; x=1690378401; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FidzQexKtkouU1qkbBHNf0sLtxCwSpPvwbfWM54cmB0=; b=eZNMQUkwzuCW4uW5By3dBIkhAv7JLoW0UDtQhrin3uQFgR9ZjlawUMQC3NynrDBZVn Dvv/jMT14F15TjbFpV0SxbzF16HFCv4ngCe6H7ru4sVeWa3lzFvcG6hdI7Pu0ylgCNp4 zwntN0QzmYt8LXJeBVXMGr4H+o5oeK1yJcstBJlmTZ1qPKwN1kU0lwHGephwodYOI8pM a6VUE9Z/33F06LkyP0xeJpdznH/6i5yA7musMgFAigA+Fz/vXlACaBcYdTvIDDmAtKIh c5U3CoLGw6fgnZYP7P4bQIphmo84trDxAneJ9yIMQjX0SkflkIljVTHk6ou0amVPcKOF vNyQ== X-Gm-Message-State: AC+VfDz8PgJsx2kNREsgWG6POX2os5YoEPZJDJjvh2HTwrMeBiTD/Jyv MXgoNlcQhUH3l92vCj4BAN9OB1s9l2S55g== X-Google-Smtp-Source: ACHHUZ7OLJkla49oCl5uN2Uwtex8yujUm2wqIuq3/wttBMhdyw5AEjaPvwF0kS9md6UgFIpl6Ll4bg== X-Received: by 2002:a17:907:9453:b0:987:47b3:6e34 with SMTP id dl19-20020a170907945300b0098747b36e34mr21341537ejc.67.1687786400655; Mon, 26 Jun 2023 06:33:20 -0700 (PDT) Received: from t14s-af.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id h13-20020a1709060f4d00b0097073f1ed84sm3301988ejj.4.2023.06.26.06.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 06:33:20 -0700 (PDT) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [PATCH 3/4] runqemu-ifdown: catch up with ifup Date: Mon, 26 Jun 2023 15:29:26 +0200 Message-ID: <20230626133213.47920-4-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230626133213.47920-1-adrian.freihofer@siemens.com> References: <20230626133213.47920-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Jun 2023 13:33:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183416 - Drop the native-sysroot-basedir parameter still allow it to keep backward compatibility write a warning to stderr - Add a space after ! in the if as suggested by shellcheck - Support the new OE_TAP_NAME variable as well Signed-off-by: Adrian Freihofer --- scripts/runqemu-ifdown | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown index 78be28812d4..822a2a39b9f 100755 --- a/scripts/runqemu-ifdown +++ b/scripts/runqemu-ifdown @@ -16,7 +16,7 @@ # usage() { - echo "sudo $(basename $0) " + echo "sudo $(basename $0) " } if [ $EUID -ne 0 ]; then @@ -24,15 +24,19 @@ if [ $EUID -ne 0 ]; then exit 1 fi -if [ $# -ne 2 ]; then +if [ $# -gt 2 ] || [ $# -lt 1 ]; then usage exit 1 fi +# backward compatibility +if [ $# -eq 2 ] ; then + echo "Warning: native-sysroot-basedir parameter is ignored. It is no longer needed." >&2 +fi + TAP=$1 -STAGING_BINDIR_NATIVE=$2 -if !ip tuntap del $TAP mode tap 2>/dev/null; then +if ! ip tuntap del $TAP mode tap 2>/dev/null; then echo "Error: Unable to run up tuntap del" exit 1 fi @@ -56,8 +60,13 @@ if [ ! -x "$IPTABLES" ]; then echo "$IPTABLES cannot be executed" exit 1 fi -n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ] -dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ] + +if [ -z "$OE_TAP_NAME" ]; then + OE_TAP_NAME=tap +fi + +n=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 1 ] +dest=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 2 ] $IPTABLES -D POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 $IPTABLES -D POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 true From patchwork Mon Jun 26 13:29:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 26415 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6650EB64D7 for ; Mon, 26 Jun 2023 13:33:33 +0000 (UTC) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by mx.groups.io with SMTP id smtpd.web11.8058.1687786403565616400 for ; Mon, 26 Jun 2023 06:33:23 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=siY6iRa/; spf=pass (domain: gmail.com, ip: 209.85.218.53, mailfrom: adrian.freihofer@gmail.com) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-988b204ce5fso411055366b.3 for ; Mon, 26 Jun 2023 06:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687786401; x=1690378401; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CkXaen2zEUyo3P8TK39/BICOVIeWsuOjYlViHyb2b3c=; b=siY6iRa/BnFRd0OyMUafPKoNev/lwLMe5iVUjQToJn8LfzvDQspgSpS+xxKnNJVVTK EBEYSwFA/uMfwTe4JvyRkuMLNtOgZw9rzOgoUXM9G7UQcmF98PgfkdItmILe078WIRAD JlJ5qg9+upjg0sFz5E/lJ19do1oMggIoyFHDuWWUvbrZqmeYNulXMmNhsZGPe5fDQmAf QxhR9JRfUqlxh+lxpMaKJ44zZsTOkRIekoWqA2UMuwXiykXFQNF/n1VsdUd32CbavfBf Clju9FBHqn0eKduHYAjDjCvkBSeARFlHeOW4pbgqQSinKLjXIXdEQSP6/PZd4tI6c7Qk /TDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687786401; x=1690378401; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CkXaen2zEUyo3P8TK39/BICOVIeWsuOjYlViHyb2b3c=; b=WZOKylhsqQm5VZu68/ugfAxfm7BLeNs+gYLLG3IxRLGmaaRgx1yRxo13LgOsD8jBt2 VRlWs9rtwpT7Pei8BVhvEEapV4RTJsDyaMcG+cuvJK0Gt8U59lIS6O67SMxv+PopwXFn VZAqfHu/C4vWMpTr7luakYmRBUZK3DD3bj/QwusiBKslt25pnRlEgoCEa1LUhySiPzXe yN1cYapkqeDiJgyV2ag5mKlWFjyF3soEJom3bKVXMLpX8tjwKIf7IcnkoPchrjobF2T4 zUQuVh79lrg+iMgZ5kaIR2hXmGnFYlyKZsx/0hbWKvwE2KDfVTaQd18MV7mhSFqJ+DPw z5YQ== X-Gm-Message-State: AC+VfDx9oAHWCOyrspfWG09vXb1WrlhIIVVWQFELofG3uzOLHtnmpCsj nkJqbz7adcdYUE2i4IRcpkUlJeJZY/dG4A== X-Google-Smtp-Source: ACHHUZ7dmNJkExvWpD0XxM8I2Dbca+imIWA8TcxuWAoYzfwmrg5dUmIbpH8MSfxilTDi+TA15JxErQ== X-Received: by 2002:a17:907:d0f:b0:975:942e:81e7 with SMTP id gn15-20020a1709070d0f00b00975942e81e7mr28030196ejc.37.1687786401479; Mon, 26 Jun 2023 06:33:21 -0700 (PDT) Received: from t14s-af.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id h13-20020a1709060f4d00b0097073f1ed84sm3301988ejj.4.2023.06.26.06.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 06:33:21 -0700 (PDT) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [PATCH 4/4] runqemu: drop uid parameter for ifdown Date: Mon, 26 Jun 2023 15:29:27 +0200 Message-ID: <20230626133213.47920-5-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230626133213.47920-1-adrian.freihofer@siemens.com> References: <20230626133213.47920-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Jun 2023 13:33:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183417 --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runqemu index 6a3fbb2d6fe..5e6793d44e5 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1597,7 +1597,7 @@ to your build configuration. uptime_seconds = f.readline().split()[0] logger.info('Host uptime: %s\n' % uptime_seconds) if self.cleantap: - cmd = ('sudo', self.qemuifdown, self.tap, self.bindir_native) + cmd = ('sudo', self.qemuifdown, self.tap) logger.debug('Running %s' % str(cmd)) subprocess.check_call(cmd) self.release_taplock()