From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:a1c:f10f:: with SMTP id p15mr3668016wmh.27.1556199945379; Thu, 25 Apr 2019 06:45:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:b406:: with SMTP id d6ls2939402wmf.2.canary-gmail; Thu, 25 Apr 2019 06:45:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKnGgU1IP7Giq5HTleXGVr1Np806ePrzkdtqmubVOdwcfHGnxS+7eO8ybYoPSzEXCd73KF X-Received: by 2002:a1c:9e55:: with SMTP id h82mr3816459wme.134.1556199944898; Thu, 25 Apr 2019 06:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556199944; cv=none; d=google.com; s=arc-20160816; b=fisS7DwQWIdw6P/zGdgagBoZmTZR4XBdB0bRwb0KuWwGmk9/x5jra57z5CQdJbup2S aq6crmY/8w6+T1drsUZcXS/w90I+N+06wtBVGQIPCmZq7dau/agk7m/PDwn+IwHZ7wYF 0fWR4i0oK7liABE33I6UlLTSTv7Nv7DtoTGZFupmV5EEqDTLXVbIzTmYAi3ZbKusqWdY kB20vGOcTKkf0LHX9KpNtyDZGGQ6CXKUzzA9xOEMqcz0ffQRsgl7kZQkTJDaBHx/1oje cIv1b3bp+UocDCiOvksiIjkWF6HCi/Itr1nGAfwrPbmUfuVNir/X00U0LMzzqnapf4Pa xwyQ== 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=iwgT2ji1xSr+K6Lie7h4KFWOZu1b0aJhkLWFh2jDij3mYu2jGLHhPLLA1M41yLuTJI iX21/xolctb1kSjo1k3QFDWDuTfS0o8yjoMB3IrdCVEeQc/joY73lvu4RSvIIke3ZmNP fvFxqBUERoUBZPO5iIqx0BAV6MQTu9Ww82GUTc5028MpZ0mfsJ7LRF+Am1KWeVKuYyrr wWkrCOXb3F0IHPijINjV8w/E0asMDB3dPB9ltrWYOZaHwjSSvJe2R160SGaQirFxv8G2 aIeG8U5/sNtJU4HNzUVLtNNYGUzqJMq8hcw0qO3QZ0RpFAUp4qJnBoIjlX2XNCG+VP5t TpZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id l13si274534wmc.1.2019.04.25.06.45.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 06:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x3PDjhoG007429 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Apr 2019 15:45:44 +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 x3PDjhOK017181; Thu, 25 Apr 2019 15:45:43 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v4 3/9] move 'HOST_DISTRO_APT_SOURCES' from bootstrap-helper to isar-bootstrap Date: Thu, 25 Apr 2019 15:44:44 +0200 Message-Id: <20190425134450.13443-4-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190425134450.13443-1-claudius.heine.ext@siemens.com> References: <20190425134450.13443-1-claudius.heine.ext@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: lYacvQPUB1Og 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