From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7382045015631986688 X-Received: by 2002:a05:6512:2248:b0:52c:a7c8:ec43 with SMTP id 2adb3069b0e04-52cca90729dmr1154759e87.0.1718766292706; Tue, 18 Jun 2024 20:04:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:5e1b:0:b0:52c:a1ba:536b with SMTP id 2adb3069b0e04-52ca1ba5523ls2389948e87.1.-pod-prod-03-eu; Tue, 18 Jun 2024 20:04:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGuaHtFeyhJ00AngnenGqERRx0EdhNRKK/Ee+YrjM+ARk/cHvncCFJuSs1rHyZ1XJkS1/Z X-Received: by 2002:ac2:518c:0:b0:52c:81d5:6d0e with SMTP id 2adb3069b0e04-52ccaa559f0mr761882e87.2.1718766290327; Tue, 18 Jun 2024 20:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718766290; cv=none; d=google.com; s=arc-20160816; b=TQfBNpomprwFKi1OVcc7U+Z6Au+Q1lsgWBuzahoY5uDU0tZTcS2Yo38KRARUThq2wi gfQO2m9Ld8wV/66dO8DL5U4zs6wCvH+8poFnAQlikvezfnuhMKTY/hGPqGuR/DeJToGd CjmgUpWlr6xcbLcJkcR03CPd9hhF2gYJnYrjUUn6PlGLuKoCa4Ja+nITwivhajDxR9GW N+kFWZ7ZVHx3tmaGitO68MRi++YBznXiKl0ncEA2o0RoeSqhLiCui/GHnF774LEuKDpF /Oog7Fxd5retgMchsYtSc7iPrZYD/2HMr/nuHmJv+KmvG9ef3dzA19AbaaGgJNAYe+Qt QmsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:to:from:dkim-signature; bh=/P89t2cL7RujXh4alFIH6/M+J2+hxk6yXLpuXEPNDDE=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=nLjz3h1VTVGBPglk2/neir/rrXrhVO790kFWzyi4vPxSRLqlPQiRDOddtCx40yk3qm DZPdSY9US/6NJ0bE+2V4AlPWXxNmoHcVRV0b50pMYH2vzOKir4I8OT0DHyttzuRkYPiG suIRiYeHYRBafqgiiN+GNPKT0QR8NAN5qXc0KBhQZSTTaQtZYJGqUp5mDvoPp2Uty+90 i16G8Imj4i4r2TuaOWPj0p+y/fvS0xx6Lc96ZOCNmo25keHLmujPxJlqYkaYb8u3YBCD 6Yxl9HLdU4IaUWrUahWqK1g6t5epsH+/L8URNZAwRRWZf7wYuZkodl/tDNQJvmJHwbP8 8Pew==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=cUjQm9p1; spf=pass (google.com: domain of fm-1326608-20240619030449e138e249de0974cd82-ecgqhc@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1326608-20240619030449e138e249de0974cd82-ECGQhc@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52ca2839febsi296549e87.7.2024.06.18.20.04.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2024 20:04:50 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1326608-20240619030449e138e249de0974cd82-ecgqhc@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=cUjQm9p1; spf=pass (google.com: domain of fm-1326608-20240619030449e138e249de0974cd82-ecgqhc@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1326608-20240619030449e138e249de0974cd82-ECGQhc@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240619030449e138e249de0974cd82 for ; Wed, 19 Jun 2024 05:04:49 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=liuyi@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=/P89t2cL7RujXh4alFIH6/M+J2+hxk6yXLpuXEPNDDE=; b=cUjQm9p1egV90f1uiBRSpc8h1OWTYQ5lehppbwef2zMquKRiUDiYelwOXJcCNON/tqlNrZ ++EHlZ55/GXR1R9ZrGgP9Zt6M1p7PJCMjkV0A9ebglm1vMe3WmpyAumZYMAWYNdpmbeYkvfA tZYSE0KKmLYfukNtbOrR+aqfWLegg=; From: Liu Yi To: isar-users@googlegroups.com Subject: [PATCH] rootfs-u-boot: add missing import get_bitbake_var Date: Wed, 19 Jun 2024 11:04:40 +0800 Message-Id: <20240619030440.1858-1-liuyi@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1326608:519-21489:flowmailer X-TUID: 9mj5k12vdjWr The variable image_rootfs_dir will not be correctly defined if missing import of get_bitbake_var func. Signed-off-by: Liu Yi --- meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 from wic import WicError from wic.plugins.source.rootfs import RootfsPlugin -from wic.misc import exec_cmd +from wic.misc import get_bitbake_var, exec_cmd logger = logging.getLogger('wic') -- 2.39.2