From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6450015460633083904 X-Received: by 10.25.221.3 with SMTP id u3mr249053lfg.4.1501761252075; Thu, 03 Aug 2017 04:54:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.218.68 with SMTP id r65ls323372wmg.6.canary-gmail; Thu, 03 Aug 2017 04:54:11 -0700 (PDT) X-Received: by 10.28.156.149 with SMTP id f143mr169864wme.8.1501761251848; Thu, 03 Aug 2017 04:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501761251; cv=none; d=google.com; s=arc-20160816; b=BvcyFIH5VBfrlJTiNxW/WQAVJBtQffR3TvWvodFx6a/f2OGcpIMDVORwFRtSFpoYj2 N8pV8fHICGcAJmmCW0e6ZTc7/fhly9iBYLXcpvm+MYgzuaxTIaqukDdicCMMsxKn3cpC FMGE0g8gqlRNv9XQvoOcre/paceohvpZfH9WL9qrKeV8C+RLBnU8UhAVexnjRqmIdml7 scX+Y+Kw/aemKdsgSyv4PnVqA4zcV/3KkwGpOoxRk9/uXdyhf5iy6Qo+v5NrMnTmTWGM N7/G/uaP7iP436LgYDdHoS6mAxOZbGqG6LFl4Esy7U/AbuP7oI0c/al2iUIneb5IxSXo 9LyQ== 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=V0XNC788DASPupnkVXwixvzH+ElNPLmuH5CzbVQaAXo=; b=NAPRB4hEL8Gd9WJfSUAM0UNWa0ys4iEqeI3S0kurG0Hi7yfEhlO02bv4X+oFvmRXIC SFfpWXZUXHGxbdrIeyhjLKkLRLufIW3lLvq0OhmlVE9HUY9tj3PmNiL/0h+MC1rZIe7p E0Gktes7UIV4qXd9AyciLNiACt7VTgxGH8XfOxIIucT/IUiEiJcbrhHz0NlCuf7hBaUG ihJIqzMT0pMy4Z/s7K2MgAehnUa+PssQcuk+yhc8A9vWhbFW+uic9ZJMqzrp9/p/dwZo UO5nGBQb2skiJ2rbhqdKt0zV9OzTQoPrxEdfPv8WKMqXhh7QrB6ziEcsSodNeDpMeXxw r8QQ== 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 z192si791401wmz.5.2017.08.03.04.54.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2017 04:54:11 -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 v73Bs4Js031640 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 Aug 2017 13:54:04 +0200 Received: from md1em3qc.ww002.siemens.net ([139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v73Bs3Av032676; Thu, 3 Aug 2017 13:54:04 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Alexander Smirnov , Henning Schild Subject: [PATCH 0-10 of 16 v2 8/8] meta: dpkg: reorder and rename do_install to install in addtask Date: Thu, 3 Aug 2017 13:55:57 +0200 Message-Id: <74592c466b9e38b431fa17b3d98f32a6df7858dd.1501760818.git.henning.schild@siemens.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: References: In-Reply-To: References: X-TUID: ZiuzGEuExKpH the reordering should improve readability when adding a task you skip the do_ prefix Signed-off-by: Henning Schild --- meta/classes/dpkg.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass index 36e047a..ca0c5ab 100644 --- a/meta/classes/dpkg.bbclass +++ b/meta/classes/dpkg.bbclass @@ -23,12 +23,12 @@ do_build() { sudo chroot ${BUILDCHROOT_DIR} /build.sh ${PP}/${SRC_DIR} } -do_install[stamp-extra-info] = "${MACHINE}" # Install package to dedicated deploy directory do_install() { install -m 755 ${BUILDROOT}/*.deb ${DEPLOY_DIR_DEB}/ } -addtask do_install after do_build +addtask install after do_build do_install[dirs] = "${DEPLOY_DIR_DEB}" +do_install[stamp-extra-info] = "${MACHINE}" -- 2.13.0