From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6463342265335021568 X-Received: by 10.25.215.228 with SMTP id q97mr683748lfi.24.1505115370934; Mon, 11 Sep 2017 00:36:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.87.82 with SMTP id r18ls219918ljd.52.gmail; Mon, 11 Sep 2017 00:36:10 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBWwIWXm4+KooMT4jTXyoExo0vKXhtI/7N22wXM3l7dGOkH1SXjVTMLDYLNfcr9fT8c8keq X-Received: by 10.25.115.131 with SMTP id h3mr734190lfk.44.1505115370580; Mon, 11 Sep 2017 00:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505115370; cv=none; d=google.com; s=arc-20160816; b=uxWZ9d16FBSvgqvAQVSFFHZsTwpp9MBDgzCoQK9I+id+JafD40WbLSWEmeAPztCmWt nGENGLW+InXvOf8idOxEZKVDU47nNnm74UjBfMV5SoRmhpo2F+DRd+rz/fxeiHN54mhF /7nriO+V3SayzY4qEZIwWLEUc7+yTvCILzP+Kfv/XapiugBzSTHSku3MofKsXLg6Kxmc Fons7UMmtkq5JCBIc2znmDj55pfSiksdE5RXmfbgX9DEJeilHaH70IDaYeLxBiYZZ9oH nWrU9/Zwv/ukrgS9n3Cer0uGc7rNONPCo7/s2uNqhn0ihmEXE+eFS6ytp8fL34PnRQXn ZtiA== 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:cc:to:subject :arc-authentication-results; bh=DbprzDQsp8A6nYJH+lYF4Bwc8sraSXsI716rwy0BtIw=; b=oZM09QgdGGI9dm7lMu58ckCZIBBvcSVsZJWMGAxrH6eMQbKm6h+pfs39KEXDHADWR1 aeDmWGw1ZZG2fdhsrRyQNPIACdzhT1Tvu2DOsO24yoT9foy6DfSiXKRbRFGwRgdSHguR yPH5O9vaqUrJ6Y+7o7/0tz3ZBCuvIYL1dpsfJjiHIhSYf/0RTqfiMizRiEZax0gVrRJJ +Ayamh7EKABqly/jW2z9+wvvgKBXhV2089lR4ug1Xq8WFVT0PkN6Dg1zyA3NmspY4wgY W3vKHT6JZ3jAOB+1rSmT6T8S892UcmSCM2YuMcX5xl0j8hrh66LoS8w70VIWb4Il24Ph uDMQ== 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 195si556141wmj.9.2017.09.11.00.36.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 00:36:10 -0700 (PDT) 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 v8B7a7cp030259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 11 Sep 2017 09:36:09 +0200 Subject: Re: [PATCH v2 0/5] Unify work space for packages To: Henning Schild Cc: isar-users@googlegroups.com References: <20170908155606.7654-1-asmirnov@ilbers.de> <20170908180617.6f635a21@md1em3qc> <06c0111d-5c7c-c733-a29f-c4420edeaf18@ilbers.de> <20170908181541.3a7673b3@md1em3qc> From: Alexander Smirnov Message-ID: <12c1804e-59dc-ba1f-8453-bf7090739d33@ilbers.de> Date: Mon, 11 Sep 2017 10:36:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170908181541.3a7673b3@md1em3qc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: fb4x4yrdSjWj On 09/08/2017 07:15 PM, Henning Schild wrote: > Am Fri, 8 Sep 2017 19:10:37 +0300 > schrieb Alexander Smirnov : > >> On 09/08/2017 07:06 PM, Henning Schild wrote: >>> Looks good, except for the minor things i just found. >> >> Thanks for the quick response. Will fix according to your comments. > > You are welcome. > >> Could you please re-base your series on top of this? > > Sure. But i would prefer to do this rebase together with addressing > issues found in the review. So please provide reviews to all patches, > catch up on the nameing discussions etc. and give me a green light by > replying here again. > There is nothing more from me. Only one possible topic - names of the classes. Eventually we will have at least three pipelines: - Build package in chroot (current Isar flow). - Pack custom files (your proposal). - Cross-compilation for custom packages. So, probably we can use following names (respectively): - dpkg-native.bbclass - dpkg-pack.bbclass - dpkg-cross.bbclass Alex >>> >>> Am Fri, 8 Sep 2017 18:56:01 +0300 >>> schrieb Alexander Smirnov : >>> >>>> Hi all, >>>> >>>> this series does the following: >>>> - Simplifies folders structure for multiconfig. >>>> - Unifies work space for packages. >>>> - Use unified canonical names for build artifacts. >>>> >>>> The overal build tree with multiconfig looks like the following: >>>> $ ls -1 tmp/work/ >>>> debian-jessie-amd64 >>>> debian-jessie-armhf >>>> debian-jessie-i386 >>>> debian-stretch-amd64 >>>> debian-stretch-armhf >>>> debian-stretch-i386 >>>> debian-wheezy-armhf >>>> raspbian-jessie-armhf >>>> >>>> Package workdir looks now like the following: >>>> $ ls -1 tmp/work/debian-jessie-amd64/hello-0.1+g7f35942-1-r0/ >>>> git >>>> hello_0.1+g7f35942-1_amd64.changes >>>> hello_0.1+g7f35942-1_amd64.deb >>>> hello_0.1+g7f35942-1.dsc >>>> hello_0.1+g7f35942-1.tar.gz >>>> temp >>>> >>>> Changes since v1: >>>> - Split first patch into pieces. >>>> - Use variable in multistrap config. >>>> - Rename ext4 image to unified cacnonical name (patch 4). >>>> >>>> With best regards, >>>> Alex >>>> >>>> Alexander Smirnov (5): >>>> image: Unify path to image rootfs >>>> isar: Change build folders tree >>>> stamps: Name stamps canonicaly and unified >>>> image: Name image canonicaly and unified >>>> class/dpkg: Unify workplace for packages >>>> >>>> meta-isar/classes/rpi-sdimg.bbclass | 2 +- >>>> meta-isar/recipes-core/images/isar-image-base.bb | 18 >>>> ++++++++---------- >>>> meta/classes/dpkg.bbclass | 15 >>>> +++++++++------ meta/classes/ext4-img.bbclass | >>>> 12 ++++++------ meta/classes/image.bbclass | >>>> 11 ++++++----- meta/conf/isar-bitbake.conf | >>>> 5 ++++- meta/recipes-devtools/buildchroot/buildchroot.bb | 8 >>>> ++++---- scripts/start_vm | 2 +- >>>> 8 files changed, 39 insertions(+), 34 deletions(-) >>> >> > -- With best regards, Alexander Smirnov ilbers GmbH Baierbrunner Str. 28c D-81379 Munich +49 (89) 122 67 24-0 http://ilbers.de/ Commercial register Munich, HRB 214197 General manager: Baurzhan Ismagulov