From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6460145516460113920 X-Received: by 10.25.152.20 with SMTP id a20mr240108lfe.43.1504119838483; Wed, 30 Aug 2017 12:03:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.83.75 with SMTP id t11ls482296ljd.7.gmail; Wed, 30 Aug 2017 12:03:58 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6voH4i5RguuhwDLMfk7ngeKSTffsg60cZ37BUWhb/rWD6KpjCmFt+sPeQ/T6VIa2GrSbgu X-Received: by 10.46.1.161 with SMTP id f33mr264987lji.44.1504119838223; Wed, 30 Aug 2017 12:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504119838; cv=none; d=google.com; s=arc-20160816; b=KaTuEJYM85J66VfpJJwN+IuFlANMDL5uj3YMmPTejdVDc0r1KjdampoeC15aHRfAMZ o7m0Gfz43dp4RdFKcQpxCXuS+wVSr84dtDO56QYliVAV1idnwlAWaNdaPgda2sDdWqbJ pBnv4HpgQE9oGfjwiOicnYp/sibg/H8rzLn5oGL6W4imsxfgqlwUEQ8Vt4lfpAeOanuT Jl+0HtJx/6P8rwSuIr7e2E8l3sFjQ3fk3rkZYEhfXOYRSN5d4NymTqK/RpqQeAAgkdDf DGz+7iv+jjdGfupRTRYkDTnf17a6/K7C+2u/ZL79vXqNt6q4TQx+h2HtTltxTW57D93L 7nfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=RS0Ce2AnH3KxoOZm8IdTFqTp0/6+8FBYKAbc4OMaZu4=; b=XDZjLcjaLW47N+K3wHVMlTjz9Q/wUiJm/463TvjTeg4sYftR9gUnyUtt7o5iYiA8AO wO6me+JgWM4+lrKC1CD9xBgl3kTSoMKGNnN2NiAJDGo5Z+oC0adtnM29n/gW6XLYHEYF 9cBOOQhT68fd6bLtTPd0MsFiOaSC7Do1GqBKx51RDoL+s2r6voZ+HEzfUG0LTgRygQBA CGJ7O4GhlDiTBc1zdYahycGQrHfACtwjRi94rNUQ9a0BI9R9xQJ5/IOoxg8KmDGq025+ bbL2n70xOPTqz7JIKuzBhyCkOYnmSNOTOPqrUtqiCwELW0RoaWNuzDBUoL2KIJAL4fw2 eF+A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 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 goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id y62si145940wme.1.2017.08.30.12.03.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 12:03:58 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v7UJ3uQn018150 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Aug 2017 21:03:56 +0200 Received: from md1em3qc.ad001.siemens.net ([139.25.68.40]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v7UJ3t5i027281; Wed, 30 Aug 2017 21:03:56 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Alexander Smirnov , Christian Storm , Claudius Heine , Henning Schild Subject: [PATCH 3/6] meta/dpkg: rename to dpkg-debian and add comment Date: Wed, 30 Aug 2017 21:03:54 +0200 Message-Id: <9e4ec5fd512461f19aebdda5420544bc91fadb17.1504119538.git.henning.schild@siemens.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: References: In-Reply-To: References: X-TUID: mx41r1qtUUKX Issues: In order to have multiple classes that create debian packages we need to come up with different names for them. Change: Give the class a name that is supposed to reflect that this class should be used if you have sources and a /debian directory for them. Also add a small comment to the header to make that more clear. Update the one user in the Isar repository as well. Impact: This patch does not change the behaviour of Isar. It addresses the issue. However, all forks of Isar will have to update all recipes that inherited the class. Signed-off-by: Henning Schild --- meta-isar/recipes-app/hello/hello.bb | 2 +- meta/classes/{dpkg.bbclass => dpkg-debian.bbclass} | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) rename meta/classes/{dpkg.bbclass => dpkg-debian.bbclass} (84%) diff --git a/meta-isar/recipes-app/hello/hello.bb b/meta-isar/recipes-app/hello/hello.bb index 56424fb..30cf8a8 100644 --- a/meta-isar/recipes-app/hello/hello.bb +++ b/meta-isar/recipes-app/hello/hello.bb @@ -15,4 +15,4 @@ SRCREV = "ad7065ecc4840cc436bfcdac427386dbba4ea719" SRC_DIR = "git" -inherit dpkg +inherit dpkg-debian diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg-debian.bbclass similarity index 84% rename from meta/classes/dpkg.bbclass rename to meta/classes/dpkg-debian.bbclass index 0b8c7c4..7466254 100644 --- a/meta/classes/dpkg.bbclass +++ b/meta/classes/dpkg-debian.bbclass @@ -1,5 +1,9 @@ # This software is a part of ISAR. # Copyright (C) 2015-2016 ilbers GmbH +# +# This class allows you to build debian packages from sources. +# These sources need to be enabled for that, they need to have the +# debian/ folder. # Add dependency from buildchroot creation DEPENDS += "buildchroot" -- 2.13.5