From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6629178849690124288 X-Received: by 2002:a5d:45c5:: with SMTP id b5mr114836wrs.24.1543491215022; Thu, 29 Nov 2018 03:33:35 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:e0d0:: with SMTP id e16ls27599wri.11.gmail; Thu, 29 Nov 2018 03:33:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/UvAR2WCSG1JwOJTk/VQTECqm/ReQoD7QOLqNPEqLbERpzgmI1tqGOl5V/l14fM3FyiTJr7 X-Received: by 2002:a05:6000:100d:: with SMTP id a13mr118813wrx.2.1543491214630; Thu, 29 Nov 2018 03:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543491214; cv=none; d=google.com; s=arc-20160816; b=kweQPkTtBpVMUF8UCvNk61ZJfhh3mi0G+wZqFlc8T7Xc/xqmkYtFZLKGvyhfWkaCnD K8AauvDyezLe/vfR2G0dUpKMiYUrUiovdJN+wAnT6BI8n/Cf1jDCXIkKsGvBj7ZG5NmU 5GsBhOGvrx8eEENXv1tBG4x+J4gojPrmg4/yCDDWATGMfv1aoSHH+JQjQC0GlBszhD9z A2bIBhZ+Z2+DxelHeRNpq182Mhx3yceBT0KEFAdovt7rgtql+NsGytjhm+0Emkkm1HpZ qJ+VasdFGqsluHU+U1ySgkopfk9jThhGAjjZEKd0voY3hpoNvzgsa+Z1Pis4bPzZ5yJL FUTA== 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=mAMI9EwlJaoBMlQZ6R9xHlE2Dqa11JCSgoSIXcw5XHM=; b=lUPrCVnJZSpZJncJxA/Z/pVwuol7LTiyRbaJaRb8ObhafVSvGP8QW2GZhlnFD6SE89 Wo5gGkJRTLtS+A6CtdaCbbnTxWE/HnboTlnqtLfz4ieryd7TVAN98pC7lBKSf26nZp3u 5eJhfM7TQ3tV5DiQrE5BlVRxzVJWZD0/dj1JxTsYvaZ1fE4VIE8fzB5905mzy42X23au /4Q4ZGbIrO1r3QRQOejLMzH496OSF3eHj2eXGpM9D/VfkraIMFr38THmtijorWsvziOF hXfsu2Ls6L2KiRzs3hkJw9vsEAMCgV4U40iYLOUW/6xwDf/b/QK6PftZut0IU8IszSpI ifww== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id p19si8417wmc.0.2018.11.29.03.33.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 03:33:34 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id wATBXYdh023081 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 29 Nov 2018 12:33:34 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wATBXY89026692; Thu, 29 Nov 2018 12:33:34 +0100 Date: Thu, 29 Nov 2018 12:33:33 +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: <20181129123333.3c86eb53@md1za8fc.ad001.siemens.net> In-Reply-To: <20181129071918.29263-1-mosipov@ilbers.de> References: <20181129071918.29263-1-mosipov@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: Wu0gdjlFoyee 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? > + 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 Henning > $BB_ARGS \ multiconfig:qemuarm-stretch:isar-image-base \ > multiconfig:qemuarm64-stretch:isar-image-base \