From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6451845432830066688 X-Received: by 10.28.151.208 with SMTP id z199mr1867134wmd.30.1503351741589; Mon, 21 Aug 2017 14:42:21 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.88.198 with SMTP id m189ls263798wmb.14.canary-gmail; Mon, 21 Aug 2017 14:42:21 -0700 (PDT) X-Received: by 10.28.236.72 with SMTP id k69mr1762552wmh.25.1503351741273; Mon, 21 Aug 2017 14:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503351741; cv=none; d=google.com; s=arc-20160816; b=NICN5SuG6ArcnY75HiOi7s3wh0VzMX/aLF8dNpfIIc9QFQLPdGjKaUSDj3HUMqDZCe egzpIxXzFgRmdR8v6EimH74IyIS7A4yA/RE3Zp51vSkXD0AtZKcK2DzJoyPBTCCyg9vU YbJsEbRve56CrbWqIYyPqBo/7Zl0B9EgGnPfkNQLstUoDWwWjwL7PIDiof480MNId4tA LbfWVRDYgeXzUj5YfCVd02dsal6EfDp53znqeDU6tkV26JAm28kuP1ZtI4Lv01T37/zN yo4Jt1BM9avn4rgEAaEu/jFXxSWpHF9rpPGZLNRQgNfCLmWpwQmZDDEAWOUrOlrqcqlz 0Ojg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date :arc-authentication-results; bh=At0DyYsl/t+NzIP7NcR59vFT3Sc1nZMA90JAg01EdgE=; b=EhmSPSYNldFn6VN7kvc/0sixcHWVUcF2S3SVAS058isjXTtH52EbLa4EIiCPsHZsQa +rqLqSNJuB5CCk9TMpeIibSjTf9HwB+A0aV5aPkFN8TumUqDTFWRXjlXhDINocFyW8Ov ctUq9Rs+CUBNoHt3oxWD8YydQo9AeZpwflEPS+p1XUUJbAvfxxaEpnWtT9FEK0oIG4cQ d61s1MwNivEQT0eXqvRlHv1XBVek0P7l+aftm0zZ0ZPb/O5AYC2/dAw58Q91vWs/DQDo YhMJ15Ihq4RHbqWNZTwI9mMdhpoMvg+vGJcgdMuP0FOao3lJ0KcB1x1q6y55KJhJ3NTf jc+Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id v202si2810806wmv.3.2017.08.21.14.42.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 14:42:21 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.radix50.net (dslb-088-067-177-003.088.067.pools.vodafone-ip.de [88.67.177.3]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id v7LLgI6U009832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Aug 2017 23:42:20 +0200 Received: from yssyq.radix50.net (localhost [127.0.0.1]) by yssyq.radix50.net (8.14.4/8.14.4/Debian-8) with ESMTP id v7LLgD3E010513 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 21 Aug 2017 23:42:13 +0200 Received: (from ibr@localhost) by yssyq.radix50.net (8.14.4/8.14.4/Submit) id v7LLgDmj010512 for isar-users@googlegroups.com; Mon, 21 Aug 2017 23:42:13 +0200 Date: Mon, 21 Aug 2017 23:42:13 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH 4/4] buildchroot: Update build script. Message-ID: <20170821214213.GH3711@yssyq.radix50.net> Mail-Followup-To: isar-users@googlegroups.com References: <20170808100424.19607-1-asmirnov@ilbers.de> <20170808100424.19607-5-asmirnov@ilbers.de> <20170808130516.6fbd4cc4@md1em3qc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170808130516.6fbd4cc4@md1em3qc> User-Agent: Mutt/1.5.23 (2014-03-12) X-TUID: spUZWWRFCDWH On Tue, Aug 08, 2017 at 01:05:16PM +0200, Henning Schild wrote: > Looks good, but this whole script should go into dpkg-src.bbclass into > the task where it gets called. Less indirection, files and confusion. How exactly? As I see it, build.sh cannot be executed in the same shell process as the task, since it requires chrooting into buildchroot (possibly under qemu). The only way I spontaneously see is to generate it on the fly with e.g. a here document -- my rating for that particular implementation: More indirection, the same number of files, more confusion. With kind regards, Baurzhan.