From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6460145516460113920 X-Received: by 10.28.217.17 with SMTP id q17mr291904wmg.30.1504119838071; Wed, 30 Aug 2017 12:03:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.84.9 with SMTP id i9ls473884ljb.40.gmail; Wed, 30 Aug 2017 12:03:57 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4yWiyENDOCrVuATLpjd9hLdgALw3Lxxd+3rdrbf0HVv1nOeIZ+g+6s+ezW3aF6OV2UhxyI X-Received: by 10.25.74.150 with SMTP id x144mr234800lfa.32.1504119837487; Wed, 30 Aug 2017 12:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504119837; cv=none; d=google.com; s=arc-20160816; b=QgtgUmTJL8fvcPu5+/EOAt3rPJmDpblHjExdFlHvizIYSFzNAVjFPwtc01FiN0JE2H YQzwEGTcSRFYihiVrZ713vQKFuObKGOM9abVCgwSh/ISRgLihsiqBqpvyv+0hDS4epd9 Os+4FmmMMlmR+Is1/rplfMUrb40uUpk3YySY+hflcrFdn6Xhqe9U4vbnetJLf4AUgxnX GYvPjfEDY9AZBUffFrn13PIP9mymZA6IGMqXXqzEIZvsj4IZ2TSN7tT6FqOwDYarHmEi Ur94+3LihtOhyKRg9KguSq6dZsJekxTk6szXfAJLR/ZuuuM1lMIJufh2brW4bbKyzOv7 4XBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=VmQdWn5H5pdgedeUyuf7X3HiMAyotgMvSqa3TJA2sJc=; b=WzSdO9xhEy5n+Wpwzhq+mAVQHl46I5ioIgrNM6CO24HbvZq8fm6RrykwHUaSXB1TZA DJOK9ynvfAToXSIfj9HGrPrzPFRNf+2P3s4QLLkZDZoN5dBllgXRw0R8/hsCvw5fqw5M Enp3XT/uEv2JLvY+7JGf9jubdlkCQj45a1Xabcys2HEGCvvALxD1RaCRA3kq4OwC3Pco CQ4v85P9QRj+GWpLof0Cyh9gToptuxrYzpj7IEa7zvfiuVRky55zO9IACKw37LHYtzYu A1jp1hacRSVTunMyrwmHDrhFpfmL2UP5Zmedhuv4z2aFSKdh0qa+2hjmJ+C0rqqZ0WeC R3AA== 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 p65si65681wmg.1.2017.08.30.12.03.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 12:03:57 -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 v7UJ3u3V018141 (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 v7UJ3t5f027281; Wed, 30 Aug 2017 21:03:55 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Alexander Smirnov , Christian Storm , Claudius Heine , Henning Schild Subject: [PATCH 0/6] v3 of getting the custom debian package in Date: Wed, 30 Aug 2017 21:03:51 +0200 Message-Id: X-Mailer: git-send-email 2.13.5 X-TUID: PSJbl8j9N4PL This series is another repost of patches we have discussed as "[PATCH 11-16 of 16 v2 0/6]" before. This time with a strong focus in doing nothing but what is absolutely required to get the feature merged. Patch 5 is _the_ patch that matters. Anything done before it is somehow required to work towards it. That is at least the idea. Please consider that during review. You can consider the following threads dead from now on: "[PATCH 11-16 of 16 v2 0/6] and now for the second half" "[PATCH 0-10 of 16 v2 0/8] splitting the previous q" "[PATCH 00/16] fixes and introducing dpdk-bin support" I did not test whether all individual commits actually work, i would like to assign that task to CI and repair whatever is broken. I decided to start without a tag for the series, consider it a fresh v0. Here some history on the patches: Patches 1 and 2 are basically "[PATCH 0-10 of 16 v2 6/8] classes: move fetch and unpack into isar-base" but this time with a split where the change does not happen with the move. Patch 3: similar to "[PATCH 11-16 of 16 v2 4/6] meta: classes: rename dpkg to dpkg-src" I decided on another name to reflect that you hace sources with a "debian" directory. And because i realized that dpkg-bin would be an incorrect name, because that class could some day provide a cross-compile step as well. One that is not based on /debian and the tools around that. Patch 4: similar to "[PATCH 11-16 of 16 v2 3/6] meta: classes: move package_write_deb to new class isar-base-dpkg" Patch 5: last seen under the name "[PATCH 11-16 of 16 v2 5/6] meta: add dpkg-bin class" This is _the_ patch that matters, what is before is preparation, what comes after is documentation. Patch 6: last seen under the name "[PATCH 11-16 of 16 v2 6/6] recipes-app/hello-bin: add example on how to use dpkg-bin" Henning Schild (6): meta/dpkg: Make 'do_unpack' more generic, prepare for pulling out meta: Move 'do_fetch' and 'do_unpack' to base-class meta/dpkg: rename to dpkg-debian and add comment meta/dpkg-debian: Make 'do_install' more generic, prepare for pulling out meta/dpkg: add dpkg-custom class recipes-app/example-custom: add example on how to use dpkg-custom .../example-custom/example-custom_0.1.bb | 35 ++++++++++++ meta-isar/recipes-app/example-custom/files/README | 1 + .../recipes-app/example-custom/files/postinst | 16 ++++++ meta-isar/recipes-app/hello/hello.bb | 2 +- meta/classes/base.bbclass | 36 +++++++++++++ meta/classes/dpkg-custom.bbclass | 57 ++++++++++++++++++++ meta/classes/dpkg-debian.bbclass | 30 +++++++++++ meta/classes/dpkg.bbclass | 62 ++-------------------- 8 files changed, 181 insertions(+), 58 deletions(-) create mode 100644 meta-isar/recipes-app/example-custom/example-custom_0.1.bb create mode 100644 meta-isar/recipes-app/example-custom/files/README create mode 100644 meta-isar/recipes-app/example-custom/files/postinst create mode 100644 meta/classes/dpkg-custom.bbclass create mode 100644 meta/classes/dpkg-debian.bbclass -- 2.13.5