From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6692323281315299328 X-Received: by 2002:a17:906:a34e:: with SMTP id bz14mr55926544ejb.82.1558615109270; Thu, 23 May 2019 05:38:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:185a:: with SMTP id v26ls1601219edy.8.gmail; Thu, 23 May 2019 05:38:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMA2wEzHR+QzIsdl/FACOU0j2wZT3kxai1rkIFQE0J4Ij19p/DMMw0TPjwG9IqyxiiYpei X-Received: by 2002:a50:91e3:: with SMTP id h32mr2416512eda.103.1558615108853; Thu, 23 May 2019 05:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558615108; cv=none; d=google.com; s=arc-20160816; b=PHPfQC6xOjv9mBgLyXBWrtlWnAWxgBvbeDuUvpkcPanNWBX511H4J3gVEeiksMWkm2 s5aJaTit2X9KyR/NJlDPLjHigq60/np124YzrW+WiFj95ttEXe2yFrfZARH741PxZ306 InvozN6lXrtLOWL9QZdXhy+ERQ22KCEGC0OjIl14UCSxzuBiCHGXNmBfgGCatEypXC3l 44mS8RmGAZ8/RomEw7wm+LpiE7p+nTszTqY2CQsW906reHiD10oso5YPoh7p/0YkYQWT ZGB7cPdWwZddd4sORSJO3PjDBM8gMh7gZLMBL6t1fzOOFs+LORIwo5WJWTR+MQktuP+q /VqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=AQOt+oAyk1oPDboCLUHG0xZ59mW8ur9bjI9GdYjcoTA=; b=mKBfY/s5u1XIGfzFqZz/IiLyFAj1iOWG7rDeaPOlzLJlyzpBVWvlJAdF4nb+Ft9Go1 eaJIkvxcWoYdYLvTDbLCvLZp9fGqdxLfoUyU7zQLKDAfeYCPSJCgNHh3kjWOcdEEesSb FxN9mdJGED4a5DH3cNNBxlk00bt5CcvzASaKjPSWBw5CsO/aQPPgfoWbjZKf4+pT3U+M XFfxpO6ayhVkW6GehrFoSq4qbSZF1lDLwvZVNUIoa6LrUVHUJBwC8O3H+QVGj0EvWCtX ZCjIArmWobRpXPlYcfhG0R5R/8vLZXaqwXU6/0DDxWxgM24Qm8qEnJNAVmZdG4/CQCFX jBzQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id t36si2364337edb.0.2019.05.23.05.38.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 05:38:28 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x4NCcSSJ004490 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 May 2019 14:38:28 +0200 Received: from [139.25.69.232] (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x4NCcS0M019305; Thu, 23 May 2019 14:38:28 +0200 Subject: Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET To: "Maxim Yu. Osipov" , isar-users@googlegroups.com References: <20190518111158.16539-1-mosipov@ilbers.de> <20190518111158.16539-2-mosipov@ilbers.de> From: Claudius Heine Message-ID: <5c9e6011-7aa3-ba16-ea94-511725618de8@siemens.com> Date: Thu, 23 May 2019 14:38:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: 9mENAn+EHqdt Hi, On 23/05/2019 14.34, Maxim Yu. Osipov wrote: > On 5/23/19 2:27 PM, Claudius Heine wrote: >> Hi Maxim, >> >> On 18/05/2019 13.11, Maxim Yu. Osipov wrote: >>> Use minimal targets set to test local apt repo caching feature >>> >>> Signed-off-by: Maxim Yu. Osipov >>> --- >>>   scripts/ci_build.sh | 11 ++++++++++- >>>   1 file changed, 10 insertions(+), 1 deletion(-) >>> >>> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh >>> index ae9f5c9..9d370ac 100755 >>> --- a/scripts/ci_build.sh >>> +++ b/scripts/ci_build.sh >>> @@ -34,6 +34,10 @@ TARGETS_SET="\ >>>             # qemu-user-static of <= buster too old to build that >>>             # multiconfig:qemuarm64-buster:isar-image-base >>> +REPRO_TARGETS_SET="\ >>> +            multiconfig:qemuarm-stretch:isar-image-base \ >>> +            multiconfig:qemuarm64-stretch:isar-image-base \ >>> +            multiconfig:qemuamd64-stretch:isar-image-base" >> >> What is probably missing here a >> 'multiconfig:qemu*-buster:isar-image-base' target. >> >> At least after my current base-apt patchset it should be possible to >> build stretch and buster in the same build environment. > > Would be great. > Are you going to send the next version of your series (w/o ci patches > from v1 series)? If yes - please add patch to ci_build.sh updating > REPRO_TARGETS_SET with qemu*-buster targets. Will do, but will first run the CI on them again. In principle we could also add rpi-stretch if cross-build is not enabled. Claudius > > Regards, > Maxim. > > >> Claudius >> >>>   show_help() { >>>       echo "This script builds the default Isar images." >>> @@ -116,10 +120,15 @@ fi >>>   if [ -n "$REPRO_BUILD" ]; then >>>       # Enable use of cached base repository >>> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET >>> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET >>>       while [ -e bitbake.sock ]; do sleep 1; done >>>       sudo rm -rf tmp >>>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= >>> "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf >>> +    bitbake $BB_ARGS $REPRO_TARGETS_SET >>> +    while [ -e bitbake.sock ]; do sleep 1; done >>> +    # Cleanup and disable use of cached base repository >>> +    sudo rm -rf tmp >>> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= >>> "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf >>>   fi >>>   # Start build for the defined set of configurations >>> >> > > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de