From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514905122349252608 X-Received: by 10.28.160.18 with SMTP id j18mr3312458wme.15.1517428515456; Wed, 31 Jan 2018 11:55:15 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.84.89 with SMTP id p25ls1319379wmi.9.canary-gmail; Wed, 31 Jan 2018 11:55:14 -0800 (PST) X-Google-Smtp-Source: AH8x226S26YRTEVWsyHz/bSkj0RPnJZcasOpUBD9puXMwk/PDwTuytm2AMpLMvDhAiLRzzgSGKRV X-Received: by 10.223.130.184 with SMTP id 53mr1804241wrc.6.1517428514964; Wed, 31 Jan 2018 11:55:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517428514; cv=none; d=google.com; s=arc-20160816; b=TZfsvs8CPOZjeLzI81q3dw/679O9bcPaPMoNGg4dpjOEqbcy7h4ICABjdrwJB3+eep dz5Z127yCod27hSZRp5c4n75HE7PYK859f4UEzF3qdbvRTAjZRre1qUKiNAr+JBZqduJ hDip+9Wx2NHnAHHQHpnwMU4Tl+Jux1WeFRcA2rsl1dAZyCoGvPMa5oh/v8fNXV91xjP5 RzzmLuEiA1CQ71++jLE4SfgV/uiwfT3AUtufuYMcnGlBjCLnGAfFbqSqTE8N+69SUXs/ AFmUT9pY6EjdTV5zJpluIEkgXYoGRrUifafYV2VYkfFXz7jtRm8OKROxq4dapJ5MxTYf 4fIg== 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=0t8mkReo1UgzvcjnPmSjI8GxFNB5M9qxKuP2/qqB5N8=; b=G7oVKvusVfa0Sub513tKoYO2kwk6yNvOxDSq52dflJ0xdAzHvygL2LQjTQ51sntsYI MZghFkGgvfP2w07HS3y/BHKPqh8RaS5SYBQgs0U9jPv8ejVIpCIlC5cg1FnatrV5DPEw Jhd+iLU+iTKWFVgkZpWqmUWn0B7JgaL143wrRH+6O/MApIiHoYFQorHBPU1+G2DbTfby O5WGfCUgCvMDqJ4rfR7BCi3UhAYpnw0caG+U4FtES6TfBC6C+lqrPiiS8B7KYlDqhdl6 2FLlZL2ZdTG5JGMuD+j/buurFF7tzTxksTzzmNgIxOAstBSBUJrWdrrzaw4rmX272zW6 zlUQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id k21si1691537wrd.1.2018.01.31.11.55.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 11:55:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w0VJtBvH009237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 31 Jan 2018 20:55:13 +0100 Subject: Re: [PATCH 2/3] build.sh: Install newly built packages To: Jan Kiszka , isar-users@googlegroups.com References: <20180125083851.5887-1-asmirnov@ilbers.de> <20180125083851.5887-3-asmirnov@ilbers.de> From: Alexander Smirnov Message-ID: Date: Wed, 31 Jan 2018 22:55:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Fbh1DB418Wda 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. Alex