From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6450128687666823168 X-Received: by 10.46.19.18 with SMTP id 18mr491743ljt.25.1501787613753; Thu, 03 Aug 2017 12:13:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.40.214 with SMTP id o205ls53833wmo.15.canary-gmail; Thu, 03 Aug 2017 12:13:33 -0700 (PDT) X-Received: by 10.28.1.205 with SMTP id 196mr49603wmb.0.1501787613475; Thu, 03 Aug 2017 12:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501787613; cv=none; d=google.com; s=arc-20160816; b=gWspTmEULpWE6ek4GAdFN2LSpdF0wK3htuDRpmY61m1FIboBNDfjYkBI2jJ5lvOzQD a8oLW4AeYyaNKvYMTH2Uok4BPHJ6Nff/ocNeZNKUcq8KVcJYYv3X0EO2tAMeTRR6TqS6 4k++1gckBlNaiGrEXXYEyuNYhUUJtbavp4Ee6G0IehhayNX5zUXNEzOT/1NTcmPyi/sT GO/xGhytJXZqHSgKVgFIcGgsAJ7xNNUIqIMM86gC/V+k+YfjileBXeaF66KKxgU1fqjB PA2p3HdUq+byy15ljacLQZz04NG169cguWWHgo+hS5QcskfR+f+O7ymLhn/iwu5XYEia xapQ== 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=Az41lBGDcUL6WtGRVz4BMSukRsdJ8C3fsAkAaCZT/2k=; b=OhlSMH6U3WooTYvZm67Evm0Bm1QeGTnAM9IM21r3XXQ0UB3vzS2PkyUJwXOmB75fN+ GpEmvawUyPRUeFRmTc44LNq0P6RsKpwrIHjQuEA0fVSGsUaw+XQTRLIb8uAUb54F7eAC BvGaWKsRSdaedW4J7quOpHcox6E5JOrbskWzqAVc0InWH3heNvr40gGoYctgBWVdnl0u zo5vnftG3PG4AqGEyv4rueaqGwD0d+pnOCE9Z5aYjLh7mqEcP2eJTSUaR3SKTupIRvFT lbESm7mVPFucUglUdlw5mWZc4kjpqPOn/tf+2dbhZkPZ57uw8FQfV4wvvv+Kwnat/X70 KBdg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 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 thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id 72si1194204wmo.9.2017.08.03.12.13.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2017 12:13:33 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 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 thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v73JDVR7031227 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 Aug 2017 21:13:32 +0200 Received: from md1em3qc.erlm.siemens.de ([139.22.106.2]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v73JDVpf008615; Thu, 3 Aug 2017 21:13:31 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Alexander Smirnov , Henning Schild Subject: [PATCH 11-16 of 16 v2 0/6] and now for the second half Date: Thu, 3 Aug 2017 21:15:18 +0200 Message-Id: X-Mailer: git-send-email 2.13.0 X-TUID: 8HJLhEvyjs1u For a possible integration in OE you should use the same names. If your base class inherits the OE base class you already have implementations. Than your base class does not need to define the tasks and their order anymore and you overwrite the tasks you do not need. If we do not go on top of OE we should still use the same names for the same tasks. That is why i am still causing name-clashes here. 11v1 dropped - do_compile would have been one matching OE name, but the match is not perfect 12v1 -> 1v2 - use OE name 2v2 - is a completely new one, but seems obvious 13v1 -> 3v2 - create a new class isar-base-dpkg so images still have the fetcher and unpacker 14v1 -> 4v2 - unchanged 15v1 -> 5v2 - update commit comment to explain why and what that is - rename DEBIAN_MAINTAINER to MAINTAINER - /find/find -type f/ - /> $CONFFILES/>> $CONFFILES/ - /sed ..||/sed .. |/|/ in the conffiles the leading / was missing - put conffiles magic into its own task to allow easy customization/disabling - add a basic header, not sure how license headers should look like 16v1 -> 6v2 - use fetcher for FILES - have an example conffile - add a harmless depends example - small changes to the example postinst - introduce hack to handle BUILDROOT weirdness, needs to be discussed further Henning Schild (6): meta: dpkg rename install to package_write_deb package_write_deb: change access rights on .debs meta: classes: move package_write_deb to new class isar-base-dpkg meta: classes: rename dpkg to dpkg-src meta: add dpkg-bin class recipes-app/hello-bin: add example on how to use dpkg-bin meta-isar/recipes-app/hello-bin/files/README | 1 + meta-isar/recipes-app/hello-bin/files/postinst | 16 +++++++ meta-isar/recipes-app/hello-bin/hello-bin_0.1.bb | 38 ++++++++++++++++ meta-isar/recipes-app/hello/hello.bb | 2 +- meta/classes/dpkg-bin.bbclass | 56 ++++++++++++++++++++++++ meta/classes/dpkg-src.bbclass | 15 +++++++ meta/classes/dpkg.bbclass | 34 -------------- meta/classes/image.bbclass | 2 +- meta/classes/isar-base-dpkg.bbclass | 40 +++++++++++++++++ 9 files changed, 168 insertions(+), 36 deletions(-) create mode 100644 meta-isar/recipes-app/hello-bin/files/README create mode 100644 meta-isar/recipes-app/hello-bin/files/postinst create mode 100644 meta-isar/recipes-app/hello-bin/hello-bin_0.1.bb create mode 100644 meta/classes/dpkg-bin.bbclass create mode 100644 meta/classes/dpkg-src.bbclass delete mode 100644 meta/classes/dpkg.bbclass create mode 100644 meta/classes/isar-base-dpkg.bbclass -- 2.13.0