From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6463342265335021568 X-Received: by 10.46.43.133 with SMTP id r5mr658397ljr.4.1505118000572; Mon, 11 Sep 2017 01:20:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.87.148 with SMTP id l142ls1043368wmb.14.canary-gmail; Mon, 11 Sep 2017 01:20:00 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6G5b//winU1KRfPVfOlmQvRSu3LexTZDxJwjQ5DsJiMttLplmxDYLAVrdc0nuawEqX7q36 X-Received: by 10.223.151.69 with SMTP id r63mr536123wrb.3.1505118000261; Mon, 11 Sep 2017 01:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505118000; cv=none; d=google.com; s=arc-20160816; b=FPRq4bfLUkWHzYuaqbZZNOS7V3L/NABscRkEeiNSO5Y2cLiMd+icrZibCBIcJhMfcf 9AIdKQKZ1Wy0QwjVX635yiYUqwjeNiaup1qL0AeQQh1LbOLuiHMqHS4QaDGsoUWr5dSP 7UW2yL6ccOKY46ZW0DmQ79wFN4sxw697xoTwAQpoLbRsPQbTIvQZIe52EaeTExMVryXk b8mEy9Y3rnz6+4O1oGkN16qy5xNdxTREC3e4mv80r0lng0NTg5aqutn9xitK+wW19+uU PlXUBF4brJIcBcQK17jpLAgptOZ45ElvHBwqwGEwP5H0FOexSSHi/hhwQrAhFz68oKn0 8zJg== 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=nV+XGc2ju+lsb1Tdi+ImTnJFDGO37RAd27JwLYYqlrY=; b=JrE1pocWfmiD9zVNk5BKEsxnQ79dbqsSVSQWwmN0kGd34fJ+DMpqvhbz+BCveFdW2+ 6UKKw6ZGJGMS3Fe+/W0WdOAk/3EXBta/91dYNApZ9e0T4vhHvbECGmWRs/MxEehzBN6K 7iCbpi9eLZO8lmRRTZGfVYE8x6OX3+NUQIc7UGmZ0znCqLu7CUGXswutKf6AVxZ1x9jz w8O0r5BfU4BF5yhsNCp9fqJqAm6op/VdAYj0rUZrfsMw7Vy3FoaF9Lnr1ryhep/8zQnt QX8h9eJpF6SgV7I99v4Eew0NpzXA6HX/K7q/LZoeqMW9bQvIV8mIiR6K3636oMMZwCDX en2Q== 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 r185si299593wma.9.2017.09.11.01.20.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 01:20:00 -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 v8B8JvcT030501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 11 Sep 2017 10:19:59 +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> <12c1804e-59dc-ba1f-8453-bf7090739d33@ilbers.de> <20170911100003.0c3d4ce7@md1em3qc> From: Alexander Smirnov Message-ID: Date: Mon, 11 Sep 2017 11:19:52 +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: <20170911100003.0c3d4ce7@md1em3qc> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: cCZI1HGg+llU On 09/11/2017 11:00 AM, Henning Schild wrote: > Am Mon, 11 Sep 2017 10:36:02 +0300 > schrieb Alexander Smirnov : > >> 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 > > Would that be the current dpkg.bbclass? In that case i do not like the > name since we cross-compile with it as well. > >> - dpkg-pack.bbclass >> - dpkg-cross.bbclass > > If we ever decide to add custom building i think it would go into the > class my patches introduce. > > So i think we will have a debian and a custom way of building debian > packages, hence the names currently suggested. Maybe best discuss this > in the thread already opened for that. Ok. > > Henning > >> 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