From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514905122349252608 X-Received: by 10.28.4.216 with SMTP id 207mr3509273wme.13.1517428869048; Wed, 31 Jan 2018 12:01:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.139.199 with SMTP id w7ls1854403wra.5.gmail; Wed, 31 Jan 2018 12:01:08 -0800 (PST) X-Google-Smtp-Source: AH8x225CVZh36ftVXjS9yLSIyEbqwVUYvleU80FQ26ZnaJ7JzG5JH/PUvHwjsdO/9l5hAlWf6Z8L X-Received: by 10.223.144.49 with SMTP id h46mr3293017wrh.8.1517428868435; Wed, 31 Jan 2018 12:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517428868; cv=none; d=google.com; s=arc-20160816; b=RLB8p6juVRYi1EwzGT8e3yu3WTEA+n7KZM1ZX2z8EIHDBgwP9cMHjQsy2gVZuvQy3G /NBNdYQboetbLPy0yDCJDEwQLB5WD8jk+Cxq95nAH/mtTc/usRjNDk7gf3nVOeogOuI3 wq8gX2lR3vacHLyBYSdkCnjAEbPbw+OeZ6v1pEnNHY0rx5dAFcLtWTaBAEob5UXkKjDT EXszCVsxLVwUD/Z+eJIz/i9uNthIG5UBPmgmPQkQ2Zq1ozwsCwrp20TG8L6olxsDGEtt LcEpAFwhmRMUrOi4WikhP+J4qXQ/al1+pv1d2DED+2yfbeX1VnoSRL2BfTGOm4ceUl+6 +Gjg== 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 :arc-authentication-results; bh=KdyShU2aLVknl0m0ilObGZWk0s7YJifE+9iPBHpSIjg=; b=iXsz6dzHrEZODKX6TdVQ2vjdnXZomyxrcXhAZBpWZ1abNGjPh96g0VeQGieMkLcXXk eZv6FTjKp6NoXvzi7oKrwW7ZCTcuRXL1ce6pz6Uw4xYkL/IxNZu+LKoN6hlSOj2MNcm2 8YZmvV1kysUTe6myVnkQaWtdB2wNoJwl7R5yIZeTMtT4KymeM9zqerz9ELt1pDzFc2R4 DyU8OikN52bKzNTDPKOT+uqpnqSzCIHaYym4v3MQXD/a30l96djMIMhNPf+H9z+rhD3i uJitFbB+YlhrXji3WXfc3YtfKyCtS1i79whmpLKwPMy0RncuhbFwmq8vvezYwruLSCPt Cxig== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id g70si480621wmc.3.2018.01.31.12.01.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 12:01:08 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w0VK16wV005124 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Jan 2018 21:01:06 +0100 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w0VK16tn031790; Wed, 31 Jan 2018 21:01:06 +0100 Subject: Re: [PATCH 2/3] build.sh: Install newly built packages To: Alexander Smirnov , isar-users@googlegroups.com References: <20180125083851.5887-1-asmirnov@ilbers.de> <20180125083851.5887-3-asmirnov@ilbers.de> From: Jan Kiszka Message-ID: Date: Wed, 31 Jan 2018 21:01:05 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: HMwolLjYJSmH On 2018-01-31 20:55, Alexander Smirnov wrote: > On 01/31/2018 10:39 PM, Jan Kiszka wrote: >> On 2018-01-25 09:38, Alexander Smirnov wrote: >>> Install the debs to buildchroot immediately. This should go when Isar >>> apt will be integrated to buildchroot, so the next packages will be >>> able to populate build dependencies via 'apt-get install'. >> >> What makes adding the local repo to the buildchroot so complex? I would >> assume it's just >> >> - creating an empty repo already during buildchroot setup > > The repo is already created outside the buildchroot. > >> - adding the additional source to buildchroot's multistrap.conf >> - be happy >> > > The isar-apt should be visible in buildchroot, so: >  - We need to 'mount --bind' apt folder to buildchroot before packages > build started. >  - Unmount this folder when all the packages are built. >  - Cleanup the mount point if build fails. > > I have working concept now, I'll send the series tomorrow. > > Apart from changes above I've also fixed reprepro races protection and > isar-apt population. Great, looking forward! I've just switched my Jailhouse demo-image build over to the custom kernel recipe helper I'm preparing, and proper Build-Depends support would make the recipes even nicer. Jan