From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6726836208588029952 X-Received: by 2002:a2e:824f:: with SMTP id j15mr12344904ljh.117.1566213604370; Mon, 19 Aug 2019 04:20:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:7010:: with SMTP id h16ls1310425lfc.11.gmail; Mon, 19 Aug 2019 04:20:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqynev4KFwWgWkhFyKhIk0LCAfQQY4InpMuIL2j2rNQZUeZh+cW8zhJ27cko0AkcEYoQbnlo X-Received: by 2002:a19:a419:: with SMTP id q25mr12364431lfc.136.1566213603516; Mon, 19 Aug 2019 04:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566213603; cv=none; d=google.com; s=arc-20160816; b=QWZOfpbFXJioqfAuTIDL9gZfVvj49w38/flBd5yo/F2QJfBTUroBinD75hKfFO/0zj QNZT0QGDwPGVj48llb//sq0ahzddAoPKh4dyb3vmCvJlBN/7KKg9jKUVUl4M4Cc+0Lep sNmZszWoyeLyMAD+iKJlg0r0f+pjeFypZCjbwOSBwQfkT9qZ6TODQ7GkgHsCoF2NVFJX YRww6aH4XqRqiw2E6k9ojljj2EbvKwgb0O5p4gHoYKtyW38i81D1mnTClz5UdHTp3zsa nfwjQjKjYy/IJcAI+bB0lQLmvc4rJtF7MAu4ez1AYSIfE92P4oJbhMgT6tiBMo4jFT+d Dz4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version:user-agent :date:message-id:to:subject:from; bh=9EOfuagpwJSqOkN1vkjni+pPTLhVLP0n0bna+9K8/UE=; b=XGKJ9j+iYbiF97fotcAT0TS4GFVnp4YGFOS2CXqaiv25cFs9Ju5i3mjP+RZtanZeFv FSQwXEJIJL/qNTvTs6VzGQk5DiO53wzaLVY5t38utCcgyMKA+141td1MMBlAO/Fw21tU usaP49eYY5Otc8GGhA904P3yKnuYEbF6TqgLOVo51rm+XaqVg9Vwj84T6dY8zM5SQyjj 6DtLwPfC+3RmIGxlmk9grlUDFP9HcvXDIMt/Crq5D4jiGQc3K09grISyUDdOWU+/d23m eIe4lmf7Fb8pA/PLaLhmuEj0nspFy4igDeliv5Z7N27AAhlabqP5pXgWz93OwpKAGgPX Ip1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id m20si534536lfh.1.2019.08.19.04.20.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2019 04:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x7JBK2KB006281 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Aug 2019 13:20:03 +0200 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x7JBK21g001929; Mon, 19 Aug 2019 13:20:02 +0200 From: Jan Kiszka Subject: [PATCH] isar-bootstrap: Remove bogus "resolve=False" from getVar() To: isar-users , Baurzhan Ismagulov Message-ID: Date: Mon, 19 Aug 2019 13:20:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ePpT2b/POuw4 From: Jan Kiszka We need the resolved content of the variables here. Not resolving means that variables with late resolutions will break this anonymous python block. Signed-off-by: Jan Kiszka --- Needs to go in before "isar-bootstrap-host: Introduce HOST_DISTRO_BOOTSTRAP_KEYS". meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index 45b1608..8658e7e 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -35,16 +35,16 @@ DISTRO_APT_PREMIRRORS ?= "${@ "http://ftp\.(\S+\.)?debian.org/\S* file:///${REPO inherit base-apt-helper python () { - distro_bootstrap_keys = (d.getVar("DISTRO_BOOTSTRAP_KEYS", False) or "").split() + distro_bootstrap_keys = (d.getVar("DISTRO_BOOTSTRAP_KEYS") or "").split() - third_party_apt_keys = (d.getVar("THIRD_PARTY_APT_KEYS", False) or "").split() + third_party_apt_keys = (d.getVar("THIRD_PARTY_APT_KEYS") or "").split() # The cached repo key can be both for bootstrapping and apt package # installation afterwards. However, debootstrap will include the key into # the rootfs automatically thus the right place is distro_bootstrap_keys. if bb.utils.to_boolean(d.getVar('ISAR_USE_CACHED_BASE_REPO')): - own_pub_key = d.getVar("BASE_REPO_KEY", False) + own_pub_key = d.getVar("BASE_REPO_KEY") if own_pub_key: distro_bootstrap_keys += own_pub_key.split() -- 2.16.4 -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux