From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7382045015631986688 X-Forwarded-Encrypted: i=2; AJvYcCV2kf2Cdi3BnviJFgyKqh6SogUE8DFqzprAp1g6GSksqNADOKS23asLvpYWcraZj0Y67boI3otT+ia+C4jJy1WGLQlSTaJAgSXGyHo= X-Received: by 2002:a05:6512:78e:b0:52c:caa6:13b4 with SMTP id 2adb3069b0e04-52ce1832de1mr2031286e87.3.1719210943253; Sun, 23 Jun 2024 23:35:43 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:59c6:0:b0:52c:e1d4:7ea1 with SMTP id 2adb3069b0e04-52ce1d47fd5ls350074e87.1.-pod-prod-06-eu; Sun, 23 Jun 2024 23:35:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUl2Z2wBPx4dEYfhIrXhMrgcFqNAA9B03lto6JROPSyEQ4majJZNniNI/HQEvU9IsTBck/J44Q8Z5Qa+KFc5pxPlAmHu6a2HuEQOao= X-Google-Smtp-Source: AGHT+IGX/3dX6OjPc0J0eJsUQssMMAkats4m6tOB/ClJbRGoL6T3Ctg6nqpB2VCXT5McPGhWzW/K X-Received: by 2002:ac2:596e:0:b0:52c:de91:590c with SMTP id 2adb3069b0e04-52ce18358edmr1956696e87.24.1719210940962; Sun, 23 Jun 2024 23:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719210940; cv=none; d=google.com; s=arc-20160816; b=t83P8xbGqu3lHbG9WFb6r/ZUlGX4fcGa21t4YFiagbEWzfoNoXLrs7oibMDvz8gYp1 6CgHFE+J4k06ouGR2kVJRoWSCrrYG0/SgJ9gmVI2Wk7zkNOCxuplsHROLDhQ3bJc36Iv sv4ChlywxrhVwcgpBLaejpNevKYg+jLYfSin7b0C90X/veXaOgh/BnUbD9UBYdluG8xV 8eYn81bEegSBJzfa/MtzB/OzPE1N5VpjlgfWeuTH5HtAD5DU+HUN32PgFeCKlDZrVOvj AvETBlpKsLGJ57rqVueNLZVp00mFSC9bXIhy76BQ0Hrnqb+TMw7nRMZl6VeQiClkjjnI x6jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=4DOSRPl/CpTF2eMKCBq0maQnIEUbgAGCRjFnCzKQNgI=; fh=gaKNp+uod+jdNQKrTuVcULZfaM+cTT0xzal175Q6JaU=; b=IOrs10ahKzR60iKcVXQUOrXd0QgKf3txX4zu8kJkXvVMFWojnsgcY7zSQ6m4aVDbqx IGf8Ppk09vQqWdOG+6+d69sVjOPt/57PJOCGxK4Z8eXoWMdi0G8SmMcXbBhrRc+Mdgbs cQ1XaWsKvv/jsqos/alwrWidpMn6Nnse74yOXkxMz6PcUx89RBZhFWxyDaJhLKPJ+m7x LgarstNEodX+3HDX/7VlLde/ssk58kifhqVBXBL5BpgkGtPa+xsKp1oxjadSV18lNSOl XbSnROaFMUyxx76fCtundXM+290o83fkgrRJmA14Qquo3JRI/xtfllOeT7phcq+Vi8y2 sJHQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52ceae2ae76si7843e87.0.2024.06.23.23.35.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jun 2024 23:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 45O6Zc14018795 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2024 08:35:39 +0200 Message-ID: <3531e88a71ddb26ed545c188347187ca508b6388.camel@ilbers.de> Subject: Re: [PATCH] rootfs-u-boot: add missing import get_bitbake_var From: Uladzimir Bely To: Liu Yi , isar-users@googlegroups.com Date: Mon, 24 Jun 2024 09:35:37 +0300 In-Reply-To: <20240619030440.1858-1-liuyi@siemens.com> References: <20240619030440.1858-1-liuyi@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: PCENg/fHcAnE On Wed, 2024-06-19 at 11:04 +0800, 'Liu Yi' via isar-users wrote: > The variable image_rootfs_dir will not be correctly defined if > missing import of get_bitbake_var func. >=20 > Signed-off-by: Liu Yi > --- > =C2=A0meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py > b/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py > index 7dde49d4..5611f93a 100644 > --- a/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py > +++ b/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py > @@ -20,7 +20,7 @@ import os > =C2=A0 > =C2=A0from wic import WicError > =C2=A0from wic.plugins.source.rootfs import RootfsPlugin > -from wic.misc import exec_cmd > +from wic.misc import get_bitbake_var, exec_cmd > =C2=A0 > =C2=A0logger =3D logging.getLogger('wic') > =C2=A0 > --=20 > 2.39.2 >=20 Applied to next, thanks. --=20 Best regards, Uladzimir.