From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6629178849690124288 X-Received: by 2002:a50:a5f1:: with SMTP id b46mr350287edc.12.1543494819279; Thu, 29 Nov 2018 04:33:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:ad59:: with SMTP id z25ls510611edc.4.gmail; Thu, 29 Nov 2018 04:33:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9GBdzg45SRJV3Nz4sPyNALZjicqf4bcTglAFyALzsuQeTlhFNOgacRLvNQj2OdGT2tOZb X-Received: by 2002:aa7:dc56:: with SMTP id g22mr351616edu.10.1543494818767; Thu, 29 Nov 2018 04:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543494818; cv=none; d=google.com; s=arc-20160816; b=YJH7BoJmLBmxtSeMrzUVsw56LOrzI+Vs5RLs9UKMMFYvH3esjt4dajQI2ZwQBwqmSJ O2a4P79k/7/iilf3axqaEFmxutrhgb5BbtxnlNHbq0K0c076exj647YboS5V/MLv97M0 0K7v9SZCiLMu9IrX3MXPy6LeEMW9goozYScYwtPiPWF/m5HuQ41t2toMW6YoTMoklWff wrdgonhkv8QGHzsTulvU14Ax7z7NSAk2bqxs/N3BuKYMt5SMdf0aSL+rNeg0tgBd1YTK A92FVtFV3MFGmFXHo4bNVrX8O4sWiRthXOcOarFpAIBeUz96KMk0qT3UI/O5Nsr85CEl ra2g== 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:subject:cc:to:from:date; bh=WnT7vUtK4+RzBACTmH0zOkLa3OvAxKP/ic8AprvlP5E=; b=NagxIYsr1bTuzCTDB7E4YL0gNK/IRHs8k0ZSK2vMpAsWXb2XYr4R+yEFxf/sZWRVL6 IwE5DDumxMmqzfqI4fan1KJzFpCDAVE6VAOtNCzy3vhKDtkQgv7KG0SVhsGMwg6e3CgP uhGlzyUmZ0Hr+4ydrybGRakoiykZWclODucX25VViVBXBnT+zdXQid/yIG8yfRj8Iec/ DX8IvyKS5XDMBsjpsjRzf+9azgeb7AvqlDR4TVw0F0YYIhbicGanDDw+QkKDPmkXqWtX 6UXMIz5EtgDNuJ3x+RbYfNXidrLPRv7MswlSmcztZy1bRDTS4J6Ihu7bVhvpTBGFc5wm 6SnA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id m24si85025edc.3.2018.11.29.04.33.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 04:33:38 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id wATCXcUO008548 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 29 Nov 2018 13:33:38 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wATCXcSb014690; Thu, 29 Nov 2018 13:33:38 +0100 Date: Thu, 29 Nov 2018 13:33:37 +0100 From: Henning Schild To: "Maxim Yu. Osipov" Cc: Subject: Re: [PATCH] scripts/ci: enable use of cached base repository for fast build Message-ID: <20181129133337.29a0e46f@md1za8fc.ad001.siemens.net> In-Reply-To: <874c0ba5-4876-8fb9-f3c6-dd50e90c64b3@ilbers.de> References: <20181129071918.29263-1-mosipov@ilbers.de> <20181129123333.3c86eb53@md1za8fc.ad001.siemens.net> <874c0ba5-4876-8fb9-f3c6-dd50e90c64b3@ilbers.de> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: kRenZhc8ptvd Am Thu, 29 Nov 2018 15:02:06 +0300 schrieb "Maxim Yu. Osipov" : > On 11/29/18 2:33 PM, Henning Schild wrote: > > Am Thu, 29 Nov 2018 08:19:18 +0100 > > schrieb "Maxim Yu. Osipov" : > > > >> Signed-off-by: Maxim Yu. Osipov > >> --- > >> scripts/ci_build.sh | 7 +++++++ > >> 1 file changed, 7 insertions(+) > >> > >> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh > >> index 059df21..20b77b7 100755 > >> --- a/scripts/ci_build.sh > >> +++ b/scripts/ci_build.sh > >> @@ -86,7 +86,14 @@ fi > >> if [ -n "$FAST_BUILD" ]; then > >> # Start build for the reduced set of configurations > >> # Enforce cross-compilation to speed up the build > >> + # Enable use of cached base repository > >> sed -i -e 's/ISAR_CROSS_COMPILE ?= "0"/ISAR_CROSS_COMPILE ?= > >> "1"/g' conf/local.conf > >> + bitbake $BB_ARGS -c cache_base_repo \ > >> + multiconfig:qemuarm-stretch:isar-image-base \ > >> + multiconfig:qemuarm64-stretch:isar-image-base \ > >> + multiconfig:qemuamd64-stretch:isar-image-base > >> + sudo rm -rf tmp > > > > That rm is not in line with the user manual, should that be updated > > as well? > > Yes, after commit de68185 "conf: Move base-apt to downloads directory" > one may remove the whole tmp directory. I'll update the user manual. > > >> + sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= > >> "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf bitbake > > > > I will not propose "ifconfig down" but this here to cover cutting > > off the network for the debian side. > > > > # set invalid proxy variables to enforce "offline" > > export http_proxy=http://localhost:3128 > > export https_proxy=$http_proxy > > export ftp_proxy=$http_proxy > > Have you tested this in your environment? No, this is just the long version of "your patch does not actually go offline and should not be merged". Henning > If yes, I'll include this in v2. > > Thanks, > Maxim. > > > > Henning > > > >> $BB_ARGS \ multiconfig:qemuarm-stretch:isar-image-base \ > >> multiconfig:qemuarm64-stretch:isar-image-base \ > > > >