From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6463342265335021568 X-Received: by 10.28.15.74 with SMTP id 71mr789404wmp.3.1505116791831; Mon, 11 Sep 2017 00:59:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.43.71 with SMTP id r68ls1018157wmr.14.gmail; Mon, 11 Sep 2017 00:59:51 -0700 (PDT) X-Google-Smtp-Source: ADKCNb49LUEAXNeI1LHSN2RsgBlGBoV9kv9xj1nkYZnL06p6bvGTpTcKTTHfLa1nh5LJDmU1WBu6 X-Received: by 10.223.130.234 with SMTP id 97mr520244wrc.5.1505116791506; Mon, 11 Sep 2017 00:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505116791; cv=none; d=google.com; s=arc-20160816; b=smrhsn/sB9dB6yCTUgaCFUONCI3YGAb72wQQAXmqJvofsjNcV0svkJcHz4IUhlQ3Nc NDEXDi0no9vxaJT77uHBQxHDJ+KG04DY8tx27Y3cIKUpiI+FcxEpBSxL/v0h0maycc3d TNyVOAZBeMaB+VKERtTLTe1Iww4cvWKKLR5VLtPe22owCmDSl0f98FV1iO51k9SzzEbu sTa5iQ2QZ6s53Lu/laLBIKboVhw0zjXE4LIpIhmgnoTzVEuIrIFKKA+Xu8OdpUS7KI0Z f738OSTsZ7Gd+BhwGJAaYebB+xg12uY3Z0OF9oTvtRv3D6ZfR0Luqjxkr6Sl57OXXmuQ h7Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=R8ODIQ2K3YN3g0ngDGzefofpIgXPd+wvaVteusngBu8=; b=XLs4FLaxq/notdpitZRsAH+zy+MhcnqUN+xdWNBmGn0XQBESg30pzXmQxK533VucD6 PlI3Qz7pD6h2MXNDSS5cJLcnsvFkCjFxfyg02NoYDld/lU+OuKAnHr1jGrEZ5zveAGH9 jOlvxqWe8tj7NBtP7+/CqyN1DFzv7aFhGm2UARKjQf1vRvGiT0S73rJmH8n8vL87+Xrz LEFGQDuJRGDKk0sTHAVIKEucfd9W9Of6xm2RJMoGHp3WzZXKzEsxEYsyJq5VFxKen9hp T/XtNhUkQrg+f2tsYqZ8TPaWDhX5I26p+qUv2j6gsFEIvGYTNSJEclrpTJcGZ++2Hyrs WiyA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id r3si450853wmg.6.2017.09.11.00.59.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 00:59:51 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id v8B7xoL6011167 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 Sep 2017 09:59:51 +0200 Received: from md1em3qc ([139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v8B7xouD016243; Mon, 11 Sep 2017 09:59:50 +0200 Date: Mon, 11 Sep 2017 10:00:03 +0200 From: Henning Schild To: Alexander Smirnov Cc: Subject: Re: [PATCH v2 0/5] Unify work space for packages Message-ID: <20170911100003.0c3d4ce7@md1em3qc> In-Reply-To: <12c1804e-59dc-ba1f-8453-bf7090739d33@ilbers.de> 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> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: htTh1Puj7klQ 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. 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(-) > >>> > >> > > >