From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:ac2:4297:: with SMTP id m23mr209043lfh.15.1555499524257; Wed, 17 Apr 2019 04:12:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:894e:: with SMTP id b14ls1024410ljk.3.gmail; Wed, 17 Apr 2019 04:12:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHiahXLl4SB8JEemWvxTR3kSMy2Ye6msj9398KMyQ5rpNZ4fHA7uCDj6dk6Ca/T7Ec+AEo X-Received: by 2002:a2e:9e42:: with SMTP id g2mr7133ljk.13.1555499523743; Wed, 17 Apr 2019 04:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555499523; cv=none; d=google.com; s=arc-20160816; b=xRqwk5ElPr06ZniEvx8XEXUeDMSZ4fmUwXq8Bpa+3Wk8r00k54MNTfLNOqn3HR/PYv NcoULrhnS7/qwpHCNwV/nePoD5b4dAzQfbGA7hXG5kVT2qFzo4V/r0L9zxXjVtpS43sy ix5sj+1YvCkg54HGNeA7gZQDputRG3qYhYp3W/5wCQabWFQn3LwomWsSzW9IAQ54Z6v0 eEKxPjXmBCIe5DSre4nLOdhz4myY4WPmOXNQjDHe4SaTdXr4EP6d4Dwz7uJwbboLl/c/ 7mdjJbrHoEcACNwO3c1O8BbxUhKsw3d92+GUjuzqVUc/wzi7eiGeD8bh/rgPv4wnmxHq 3zwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=pUyoWIEW61nxGfF9DgptV1FBzy7tFngpWjJnwOr0R30=; b=NyrOL+kVeWoMMxE46MvxeS/QX27bS7qjUwHUXWNk6m3B2kxXEOYGFaA2D941ZWyaHb 6Z+TShFgIXAlVa8jXqDmKPo650GDXh1wi29SIUlUUrUQYj58PY/u1lWhj34PbpAG7MGw mHEkRw0l6Y8P6o+qRMAS5NXAACy5rIGuSkkkLeS6+EBl+0lXt2JiN1Flg+hMyggf2zHN erOMGwK+GUITe4CBcrbsu+XEySWmdhb8CYqkAqWPh4mlIySBeTLOveRQNnVNlef2Gm8J ot55o1W1XimVq5IljhVoDongn/L60hABgNX7ej5Gmw9EFLgoi+TMGgReY36gKsybBUxE 0pjw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id v21si1371165lfg.2.2019.04.17.04.12.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 04:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x3HBC2x2016940 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Apr 2019 13:12:02 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x3HBC262018575; Wed, 17 Apr 2019 13:12:02 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v2 2/8] move 'HOST_DISTRO_APT_SOURCES' from bootstrap-helper to isar-bootstrap Date: Wed, 17 Apr 2019 13:11:53 +0200 Message-Id: <20190417111159.2184-3-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190417111159.2184-1-claudius.heine.ext@siemens.com> References: <20190417111159.2184-1-claudius.heine.ext@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: 7dQUGdcGxYwM From: Claudius Heine This variable is only used in 'isar-bootstrap-host.bb' and mentioned in 'isar-bootstrap.inc'. So it does not make sense to have it available anywhere else. Signed-off-by: Claudius Heine --- meta/classes/isar-bootstrap-helper.bbclass | 2 -- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes/isar-bootstrap-helper.bbclass b/meta/classes/isar-bootstrap-helper.bbclass index 59c447b..0d77929 100644 --- a/meta/classes/isar-bootstrap-helper.bbclass +++ b/meta/classes/isar-bootstrap-helper.bbclass @@ -7,8 +7,6 @@ IMAGE_TRANSIENT_PACKAGES ??= "" -HOST_DISTRO_APT_SOURCES += "conf/distro/${HOST_DISTRO}.list" - def reverse_bb_array(d, varname): array = d.getVar(varname, True) if array is None: diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index c1b571a..0ec2e2b 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -27,6 +27,7 @@ APTKEYRING = "${WORKDIR}/apt-keyring.gpg" DEBOOTSTRAP_KEYRING = "" DEPLOY_ISAR_BOOTSTRAP ?= "" DISTRO_BOOTSTRAP_BASE_PACKAGES = "locales" +HOST_DISTRO_APT_SOURCES += "conf/distro/${HOST_DISTRO}.list" DISTRO_APT_PREMIRRORS ?= "${@ "http://ftp\.(\S+\.)?debian.org file:///${REPO_BASE_DIR} \n" if bb.utils.to_boolean(d.getVar('ISAR_USE_CACHED_BASE_REPO')) else "" }" -- 2.20.1