From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:a2e:7205:: with SMTP id n5mr3951737ljc.3.1555421218869; Tue, 16 Apr 2019 06:26:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:3802:: with SMTP id f2ls1623404lfa.0.gmail; Tue, 16 Apr 2019 06:26:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/qf9+TVy9QXOtJoFQMff5wqohrMmIlpe0L1JkC85pkCD9ZpmE6mLKZIzrXeMN9xgdljtl X-Received: by 2002:a19:6e0a:: with SMTP id j10mr1789338lfc.0.1555421218312; Tue, 16 Apr 2019 06:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555421218; cv=none; d=google.com; s=arc-20160816; b=Wxnga/YXdB+KM7Yf4tCaIv2TonYTs/Oknz7YMcyPNlRYQPRpRJHboQ+dH66A/+wAIp c/eUtCKU3fWqO3dZO3k96/bxwTU4lB6mh2mjaPHkYLAOKRGcgH3EFdg91iPhHliVCh34 FAK6YU9rtbnCDbdKKULYCW1Yi1HgRGalOOxxbxeSbUGZtOtbOU6LSacgGhFI2tWnIWYX y+EAzoOTCacEeIkONSMRQnOh5as5lNmNXdkEWHDsC6o/FJ35e19Bdxn8WJWoWDCZoZ6r /60AD7ZgarKO6hqksdJ/Mhr7j6Gb7hTKXNsCLTavLLJU2CobUugNqUE9/m9Hoq87N0Io sXXg== 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=pPsEKJ7Gojbb5U9+TWhylwTcDU3v98qD+tYa2QRRpVESDhbTog6JIhSXL5IXPSsNIe odD+rjGin6jliNg55FdaGUaRwT8JC7/5CyzuC8kUKAUFSEsXaEnbU99tgk2zzYKg0qW2 SYFyM2wfdZ0Ewz+p9sno2Oz82Ftmcz3Ln+dLzoigDx8qS98PHek2N6UI5x3tEz8THXKH 7OcRxy2vbOcoeUeZKKtA4bMnjkNGXc9oU+/jGsnLBgh4FXZwDKcNGcjIWMojnORW4y2T fM0ZPF4pmuBdzYTn2YcYbqfqNXo4akaM7uLWjrWzzwnw65xRnd/CcCMUQpWzv5ZMv2xb lhpw== 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 f16si431364lfh.3.2019.04.16.06.26.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 06:26:58 -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 x3GDQt3f004627 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Apr 2019 15:26:56 +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 x3GDQueo009089; Tue, 16 Apr 2019 15:26:56 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 2/8] move 'HOST_DISTRO_APT_SOURCES' from bootstrap-helper to isar-bootstrap Date: Tue, 16 Apr 2019 15:26:40 +0200 Message-Id: <20190416132647.3074-3-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190416132647.3074-1-claudius.heine.ext@siemens.com> References: <20190416132647.3074-1-claudius.heine.ext@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: +JVOKR4FR/UW 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