From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514905122349252608 X-Received: by 10.157.18.234 with SMTP id g97mr23157912otg.52.1517472446133; Thu, 01 Feb 2018 00:07:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.202.235.129 with SMTP id j123ls2480878oih.1.gmail; Thu, 01 Feb 2018 00:07:25 -0800 (PST) X-Google-Smtp-Source: AH8x224I5Mxxm2J5pB6/0hMtHGiafzoLTgHuVmsOsQnO4HyPom25i42SQzIz5VG64WGtybFu9wFi X-Received: by 10.157.112.136 with SMTP id l8mr2505829otj.80.1517472445675; Thu, 01 Feb 2018 00:07:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517472445; cv=none; d=google.com; s=arc-20160816; b=tHBMprSU+7uxBSDLMc/Hce7CyrPsqZfXElsZDzG/N8Ef22vfQDZ7M7vm5JuzjkvAqu PVMT0lTyDL0wr6DPIFKnpYZaHsREkBzMJYHIkyIYMlyntq1X83jI4wTLQbsLL+y5waTt zaQPpbKJSXNer+WHmx4k+qoJjZpPDX6kcVydnKGtwrSFXlWGvZALFopEWlu5tD2iIHr8 YrY2A7htaM1TsEq3n5vUkgN93Dws/doiyUNAslFTZb5h/j/XxQC1r7Oc2Z8bi9Ts72GU axKVAi5Ka5f417zuDffKPKmhnL9elyQAOuqatYErtetrkHabVPxt8PIAB4JUhT4hwa4C IjsQ== 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=ZNxMXvdanKzjLAalw0+dkVuys7yB1e/1Z0rVBTgpyn0=; b=ztVmjWqCtwkN4T/gH8lcHnASMMVgMBXStxyeUwraSNi1L5kWEUj76KHvgEcAOKMIZ4 wi+eOX+OgPjnXs/CsQzRVBBuRHcuJ9Jp38LDd0wCBh6Kgtrf6NVqXrdPOmmnXaJf6xnY 0tYWr5nAh08j7Oy6PD194rKJtPD7d1/a7C3/U9uHDbv7jEi922kM1KpyBwGFoIx/iFAb jftaMn3bQxiFCxMBO5o87xAe5vpVvMnDoNlvLbFt3FTwXwGE60x2Q9MVHGycsNFIZpgz UJ0YWo6OlnuETWpqQMRPICY1vTLfWu+mJ0GvRY1QHP+kpPiebewD+0lfj3at02MFZuKm +nQQ== 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 h64si242616oif.0.2018.02.01.00.07.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 00:07:25 -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 w1187KDK011114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 1 Feb 2018 09:07:22 +0100 Subject: Re: [PATCH 2/3] build.sh: Install newly built packages To: Benedikt Niedermayr , isar-users@googlegroups.com, Henning Schild References: <20180125083851.5887-1-asmirnov@ilbers.de> <20180125083851.5887-3-asmirnov@ilbers.de> <9217577f-03ce-1357-5e1b-97a1850328ab@googlemail.com> From: Alexander Smirnov Message-ID: Date: Thu, 1 Feb 2018 11:07:15 +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: <9217577f-03ce-1357-5e1b-97a1850328ab@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: egt/FbVDGAa9 On 02/01/2018 10:49 AM, Benedikt Niedermayr wrote: > Am 31.01.2018 um 21:01 schrieb Jan Kiszka: >> 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 >> > Am I right, that building own packages from own repositories is not > supported yet by Isar? Doch! :-) > > When I take a look into dpkg-raw class, I can see that dpkg_runbuild() > only creates a debian package, but does not build the package out from > it sources? Please take a look to dpkg class and to example-hello application. Alex