From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514681807677423616 X-Received: by 10.28.156.21 with SMTP id f21mr2805172wme.10.1517243167508; Mon, 29 Jan 2018 08:26:07 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.45.209 with SMTP id t200ls267691wmt.11.gmail; Mon, 29 Jan 2018 08:26:07 -0800 (PST) X-Google-Smtp-Source: AH8x226xJpUphnTioS9TkA/g2oalG1sDxXQzOX7CkXEsSGbq12ldQIKZhZWZapKe83qDyiwCVyuO X-Received: by 10.28.192.26 with SMTP id q26mr2721152wmf.29.1517243167009; Mon, 29 Jan 2018 08:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517243166; cv=none; d=google.com; s=arc-20160816; b=NqMVLJzUKfqZckxqrDaXrslNYxyQr9aio/tyv/WRTP9WTAHxvkVAZ2/hX2X8boxXBY PORSFJ6ju5Zjnt9Pli2n25BCaXx+om0zApWCejcPf5hAmhLpixkHbcRgu/T4TU5nPpMG 52IfujLmKXO3KbywC4DECHwvPEnjp4QvSmLqnzHw0GO5jjw7E9vSUqogETopNoGzM8my GkPOsXdwAjE0NcoCvpJszbfxejiDuXFXWSN+CVkqJ5pLyo0HqH1SbuUitd+TrfNVxZa4 eiSquMzVAV0BUo3EHybj6+40DBwILX5HdySUtV4KLY6vB54+lbJ6CVTmmcd4aUrqWDsi oi6A== 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=WnlTIm+Nj5wOpcMVJ7jLU5lcIeMrt0dS1fNmPJE6po8=; b=CUCp5SPrdSy/0mGrEgQySFKGfUkyJAp/R4EGKHkogsr78NbhedC+qOZnHLkbb8JiS2 zEiORdlVW2ZFgAe7hugal7m1KB7U8xfLQgH4G+RnZTHzhba+HIvGpP1MGhaFiNEMoW+Z VjxhuElP430kqUgKKLkQ2OchId9kUfjeaBnVNykMw1lCrqtxyWNND6UousPsB4pR6Y7Z 52Y1POA6iB7q3bAILbSHqmuzg7yYLpgDpGZctiG5RCTFUextAPIYfk63tfOMMTppnOun 0oDE2VAgDw9NMk5UEDMgEI0Suo6k8kf7CH2GtCYqHv/ZggcXhmVYVuTEA/bpIMH5RmZm Thhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) 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 d8si678124wmf.1.2018.01.29.08.26.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 08:26:06 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w0TGQ6p1030058 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Jan 2018 17:26:06 +0100 Received: from mmd1pvb1c.ad001.siemens.net ([167.87.33.62]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w0TGQ50v032160; Mon, 29 Jan 2018 17:26:06 +0100 Date: Mon, 29 Jan 2018 17:26:22 +0100 From: Henning Schild To: Alexander Smirnov Cc: Subject: Re: [PATCH] hello: Rename to example-hello Message-ID: <20180129172622.528e6890@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <20180124181216.30169-1-asmirnov@ilbers.de> References: <20180124181216.30169-1-asmirnov@ilbers.de> X-Mailer: Claws Mail 3.15.0-dirty (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: VtcoBvHOMf0Z Am Wed, 24 Jan 2018 21:12:16 +0300 schrieb Alexander Smirnov : > Pure Debian contains already contains its 'hello' package. During > image rootfs generation, multistrap fetches the upstream one, what is > not correct. > > To avoid this collision and to keep cannonical names for Isar > examples, rename 'hello' to 'example-hello'. In fact Isar needs to be able to deal with such collisions, imagine a build where you ship a custom libc. There is no way you could change all packages to depend on "example-libc". Packages from the Isar-apt repo need to win in apt-get and multiconfig. For the introduction of libhello i would talk to the maintainer whether this would also be an interesting upstream feature to demonstrate deps in debian itself. Henning > Signed-off-by: Alexander Smirnov > --- > meta-isar/conf/local.conf.sample | 2 +- > meta-isar/recipes-app/example-hello/example-hello.bb | 18 > ++++++++++++++++++ > meta-isar/recipes-app/hello/hello.bb | 18 > ------------------ 3 files changed, 19 insertions(+), 19 deletions(-) > create mode 100644 > meta-isar/recipes-app/example-hello/example-hello.bb delete mode > 100644 meta-isar/recipes-app/hello/hello.bb > > diff --git a/meta-isar/conf/local.conf.sample > b/meta-isar/conf/local.conf.sample index 660958f..33d988e 100644 > --- a/meta-isar/conf/local.conf.sample > +++ b/meta-isar/conf/local.conf.sample > @@ -153,7 +153,7 @@ CONF_VERSION = "1" > > # > # The default list of extra packages to be installed. > -IMAGE_INSTALL = "hello example-raw" > +IMAGE_INSTALL = "example-hello example-raw" > > # > # Default parallel jobs for bitbake: > diff --git a/meta-isar/recipes-app/example-hello/example-hello.bb > b/meta-isar/recipes-app/example-hello/example-hello.bb new file mode > 100644 index 0000000..114ee85 > --- /dev/null > +++ b/meta-isar/recipes-app/example-hello/example-hello.bb > @@ -0,0 +1,18 @@ > +# Sample application > +# > +# This software is a part of ISAR. > +# Copyright (C) 2015-2018 ilbers GmbH > + > +DESCRIPTION = "Sample application for ISAR" > + > +LICENSE = "gpl-2.0" > +LIC_FILES_CHKSUM = > "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" > + +PV = "0.1+g7f35942-1" > + > +SRC_URI = > "git://github.com/ilbers/hello.git;branch=devel;protocol=https" > +SRCREV = "5c0ae73fdc97d80b6726e602a1fa0ef00c2c012a" + > +SRC_DIR = "git" > + > +inherit dpkg > diff --git a/meta-isar/recipes-app/hello/hello.bb > b/meta-isar/recipes-app/hello/hello.bb deleted file mode 100644 > index 44b8bc3..0000000 > --- a/meta-isar/recipes-app/hello/hello.bb > +++ /dev/null > @@ -1,18 +0,0 @@ > -# Sample application > -# > -# This software is a part of ISAR. > -# Copyright (C) 2015-2016 ilbers GmbH > - > -DESCRIPTION = "Sample application for ISAR" > - > -LICENSE = "gpl-2.0" > -LIC_FILES_CHKSUM = > "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" > - -PV = "0.1+g7f35942-1" > - > -SRC_URI = "git://github.com/ilbers/hello.git;protocol=https" > -SRCREV = "ad7065ecc4840cc436bfcdac427386dbba4ea719" > - > -SRC_DIR = "git" > - > -inherit dpkg