From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6760915918148075520 X-Received: by 2002:a37:9083:: with SMTP id s125mr28369223qkd.192.1574148404158; Mon, 18 Nov 2019 23:26:44 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:341d:: with SMTP id u29ls5825223qtb.2.gmail; Mon, 18 Nov 2019 23:26:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzLyaYuLMGQvBBYhk6ua//tdMJDtTgs1DgxI1cUJvvIPskFW3mz9OWH9cr9RUsVTqa2Y9by X-Received: by 2002:aed:30c3:: with SMTP id 61mr31410315qtf.243.1574148403794; Mon, 18 Nov 2019 23:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574148403; cv=none; d=google.com; s=arc-20160816; b=aIz4trff1Daiufi/iuaU04wegY/UEoV7okWX0pEHi4r1OEA598qLoSgW888KY2hmvV 8SCuY6pZlLvsSWsps8q9yX6L6BeSNw6LN1mAsmozk0VQ6RTf2U+OhBV/ydj/74nJZ9Z4 FVOtnh7At4Av31fY0IFQWYLwcRg6hbwlxb3OPDFoAQlONIz6Uizsrg5dhPsDp9oeDey0 Mel91BXi2mJ7z3AB3/cFQY8CMuRDAbxKo/ZWo+daTOHpWl47DYsUK6aCASPmNAC2xRz0 NKySB4BgE2PWPtLBq5eKGfwHMwGQoUST+YlwqwSQefBDvAKfTlXn6FSZRFSqJigLffQk RNXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=eZ4H7RYek6H9no/sHlg4GVTOaKX1S2He4U6adYBnY0I=; b=jKCC417osCdacl4p24f4jW4c8eB2sGdey7T+KN32aBgxfu0Jvn8csCzP81QcaoYqEC oaLtLvVVNuZr65qKyvA0nVM/B+lBy7p++aHPWrOoDRQzEJ0AJv6DQ3x9pQ1N0HioQ4qz 3dahiJr8zt0/wx1d90JNLoea0sbC0UsJDvr7fu9PrYg5BLtme3VpDKPgI2kMa22VXm8F VNaJqjGlA6TAQOgPyKfl+EqX63Qg50t6P9elttJd16Y48zLrWHkQaRj0CJ+H6DgWG4pa YOFHZqJ3BVc7yViepJQkPz2iQMTvvvWJvTk52UxncjmKXw/sTRA8oeS+Iyqc2y9fJx/l K4CQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O5pVZdgc; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::541 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com. [2607:f8b0:4864:20::541]) by gmr-mx.google.com with ESMTPS id a189si957816qkb.4.2019.11.18.23.26.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Nov 2019 23:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::541 as permitted sender) client-ip=2607:f8b0:4864:20::541; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O5pVZdgc; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2607:f8b0:4864:20::541 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-pg1-x541.google.com with SMTP id k32so5210823pgl.2 for ; Mon, 18 Nov 2019 23:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=eZ4H7RYek6H9no/sHlg4GVTOaKX1S2He4U6adYBnY0I=; b=O5pVZdgc0ERgHQdTFNiwrWY/xFXN55F4BPrsHEdrmCbs0/dWJ/4UM/NcFuYYAWOjob ZC1c1JLf7Y+yCDu4TdVKvtIYb6Zj0QFa2ovveJz+TJ0NNX3QuG1+1SSP/3o5p9X/ADTx 68GAZqaKN+y7XGyswCuVg48EhTCKWz8FubUNbPdHbLFcDPts1MChh1DSSPxTv9wxQfqe I3d0FXXNcbtXLPeGOYPTw30wOtBRaNx+ti38YF3k+qJPIFx21ZKRZL9EPEgRcztn8bCI nzfa2YoWRBVnLs3oj9jdnvUK7MExAPic1OF9rDZ6Nv2sub11rUIcjuQJM5uCZ3aGQRpC HqJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eZ4H7RYek6H9no/sHlg4GVTOaKX1S2He4U6adYBnY0I=; b=INZ7i66hkrxDQcEfA9+dNhLariZLzXtA5EDV9maQkV0wS0oWlkwfIj2nDuqlRgZHX7 sCMr0i78e3i+oWJ0uVyA5HGzSucvrGhN7Bnb/1d5ODQB5y5C31xZIpnsnUGn3OMbW83u bgpRuqUjslb6VW4Spo8HU3XiVwU599jUsdtlpZud6wWwf4Q5GTmdo1B1Km9dzaFUirfp ehQWDyQSg468OaBEkOi1Zj0U6RnHvtr+dp6vSZ19u5QFfv8e0Vm+JRQ0QFwqGwQW1xUT ECv2+FYrSHl/bz4cg8gekRhnU9Ci9Ima6e9RrDhq9VRdVYKVlxFlJ/sGhArsaw2YuFGo /ADg== X-Gm-Message-State: APjAAAW5VcsD8pvn6Sin4dIAlj8yBbBAP5ShnHscWViljbBuwjxpKbe3 YEX2qhGlb14O4GCR7OMaHYUHvBBQVEo= X-Received: by 2002:a63:e0a:: with SMTP id d10mr3944657pgl.124.1574148402454; Mon, 18 Nov 2019 23:26:42 -0800 (PST) Return-Path: Received: from oxygen.mgc.mentorg.com (nat-sch.mentorg.com. [139.181.36.34]) by smtp.gmail.com with ESMTPSA id h66sm25613352pfg.23.2019.11.18.23.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 23:26:41 -0800 (PST) From: vijaikumar.kanagarajan@gmail.com X-Google-Original-From: Vijaikumar_Kangarajan@mentor.com To: isar-users@googlegroups.com Cc: Vijai Kumar K Subject: [PATCH] distro: Use ?= while specifying sources list Date: Tue, 19 Nov 2019 12:56:28 +0530 Message-Id: <20191119072628.31753-1-Vijaikumar_Kangarajan@mentor.com> X-Mailer: git-send-email 2.17.1 X-TUID: l9ScbuZJoTH4 From: Vijai Kumar K When testing custom repos, one might want to override DISTRO_APT_SOURCES specified in the distro configuration file. Use ?= instead of += to be able to override it in local.conf file if needed. Signed-off-by: Vijai Kumar K --- meta-isar/conf/distro/raspbian-stretch.conf | 2 +- meta/conf/distro/debian-bullseye.conf | 2 +- meta/conf/distro/debian-buster.conf | 2 +- meta/conf/distro/debian-stretch.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-isar/conf/distro/raspbian-stretch.conf b/meta-isar/conf/distro/raspbian-stretch.conf index 9c7fa01..25c484d 100644 --- a/meta-isar/conf/distro/raspbian-stretch.conf +++ b/meta-isar/conf/distro/raspbian-stretch.conf @@ -8,7 +8,7 @@ BASE_DISTRO_CODENAME = "stretch" HOST_DISTRO ?= "debian-stretch" -DISTRO_APT_SOURCES += "conf/distro/raspbian-stretch.list" +DISTRO_APT_SOURCES ?= "conf/distro/raspbian-stretch.list" DISTRO_BOOTSTRAP_KEYS += "https://archive.raspbian.org/raspbian.public.key;sha256sum=ca59cd4f2bcbc3a1d41ba6815a02a8dc5c175467a59bd87edeac458f4a5345de" DISTRO_CONFIG_SCRIPT ?= "${LAYERDIR_isar}/conf/distro/raspbian-configscript.sh" DISTRO_KERNELS ?= "rpi rpi2 rpi-rpfv rpi2-rpfv" diff --git a/meta/conf/distro/debian-bullseye.conf b/meta/conf/distro/debian-bullseye.conf index b38c3c1..a93543c 100644 --- a/meta/conf/distro/debian-bullseye.conf +++ b/meta/conf/distro/debian-bullseye.conf @@ -6,7 +6,7 @@ BASE_DISTRO_CODENAME = "bullseye" HOST_DISTRO ?= "debian-${BASE_DISTRO_CODENAME}" -DISTRO_APT_SOURCES += "conf/distro/debian-${BASE_DISTRO_CODENAME}.list" +DISTRO_APT_SOURCES ?= "conf/distro/debian-${BASE_DISTRO_CODENAME}.list" DISTRO_CONFIG_SCRIPT ?= "debian-configscript.sh" DISTRO_KERNELS ?= "4kc-malta 5kc-malta 686 686-pae amd64 arm64 armmp \ armmp-lpae cloud-amd64 loongson-3 octeon powerpc64le rpi s390x marvell \ diff --git a/meta/conf/distro/debian-buster.conf b/meta/conf/distro/debian-buster.conf index bc3f5cf..c898dba 100644 --- a/meta/conf/distro/debian-buster.conf +++ b/meta/conf/distro/debian-buster.conf @@ -6,7 +6,7 @@ BASE_DISTRO_CODENAME = "buster" HOST_DISTRO ?= "debian-buster" -DISTRO_APT_SOURCES += "conf/distro/debian-buster.list" +DISTRO_APT_SOURCES ?= "conf/distro/debian-buster.list" DISTRO_CONFIG_SCRIPT ?= "debian-configscript.sh" DISTRO_KERNELS ?= "4kc-malta 5kc-malta 686 686-pae amd64 arm64 armmp \ armmp-lpae cloud-amd64 loongson-3 marvell octeon powerpc64le rpi s390x \ diff --git a/meta/conf/distro/debian-stretch.conf b/meta/conf/distro/debian-stretch.conf index 45940e0..931256b 100644 --- a/meta/conf/distro/debian-stretch.conf +++ b/meta/conf/distro/debian-stretch.conf @@ -7,7 +7,7 @@ BASE_DISTRO_CODENAME = "stretch" HOST_DISTRO ?= "debian-stretch" -DISTRO_APT_SOURCES += "conf/distro/debian-stretch.list" +DISTRO_APT_SOURCES ?= "conf/distro/debian-stretch.list" DISTRO_CONFIG_SCRIPT ?= "debian-configscript.sh" DISTRO_KERNELS ?= "4kc-malta 586 5kc-malta 686 686-pae amd64 arm64 armmp \ armmp-lpae kirkwood loongson-3 marvell octeon orion5x powerpc64le \ -- 2.17.1