From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6464921707679318016 X-Received: by 10.46.67.12 with SMTP id q12mr697020lja.35.1505231882746; Tue, 12 Sep 2017 08:58:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.81.25 with SMTP id f25ls133404ljb.29.gmail; Tue, 12 Sep 2017 08:58:02 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCokMyT4Bjq/jLwvELuZa9So800gjqExGzgrL1vqpHcFhrThL7xqFTpiDA1d5V3kHi2XRA+ X-Received: by 10.25.228.134 with SMTP id x6mr1145817lfi.33.1505231882238; Tue, 12 Sep 2017 08:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505231882; cv=none; d=google.com; s=arc-20160816; b=jb4+fGTG0K/W6kp0Vgw76g450bggdSzhVhd3GS2lID7MTw3n8ybQ0zfKm/RtMhEkl0 ONSXE9dXcM7xWgoq2vfPEKb3SQF9H6SHDd6D3ULxYW/n8Aocm0lAH9FW0iJ8i49uoDUo P1vyNqN3b2JLBSeFp5Vc7kJvRKdY8Cx4HitYcvuilaOfnf4U+6P7vNlsLMv87DkjG3Z3 GnhDuARVjlWe3ooO9dVx3yCCa2PGOIdC1qrP3zLCdcCLLZxzBIcbtZ9foHaeFyjuXPHr AFa8jdepN38I05fk76BheGe6UzZ8Cd1uqp1vHx9ZgdjZK7DianOcBd6z+JEyzEgtVmVc gG/Q== 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=tk5LbLXGQF1bWVOwvv+gGcFXYH57UF/pFeMzrb3h+NQ=; b=KrYuqEvmzejUup/GgpFywp7E2wmjk2bJuLWTyZizElVmvuKAsZ8psMa/zBpUmNrGCh MPaNPawaPTEWZqYqvyOOupieAAuJkycYohHbRPFv7LU5Hk+rjBFFBVhqoyP3V5n50/L4 v0bt5VECG6ZGfVmC54gSnUWhg7HqqgUNqixpU3UPRoeLVuZRknTfkJIu/nXOn8M7YRum xN4OqT9q3ND/DzwA6EOC1dQzsjdgij6Jvci7+c+dJfutBjwkoHL9dGrn2tcsN2fwR1bp OlHeEnR3rSn1ave44ykWhexgGXoDVWb/Jl3NPTaLm6OdnjCnrMhzxLJmGgSkxg2bUwhM n6Kw== 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 e84si635394wmi.7.2017.09.12.08.58.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 08:58:02 -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 mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id v8CFw163011568 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Sep 2017 17:58:01 +0200 Received: from md1em3qc.ww002.siemens.net ([139.25.68.40]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v8CFw19H001102; Tue, 12 Sep 2017 17:58:01 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Alexander Smirnov , Henning Schild , Claudius Heine Subject: [PATCH v2 0/6] v4 of the custom debian package Date: Tue, 12 Sep 2017 17:58:04 +0200 Message-Id: <20170912155810.9434-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.13.5 X-TUID: M73cuLXivFio 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. I did not test whether all individual commits actually work, i would like to assign that task to CI and repair whatever is broken. Changes since last time: - change class names: - dpkg simply stays dpkg but we have a new dpkg-base - name of new class is dpkg-raw - building is done in chroot - reason for patches 3 and 4 - DISTRO_ARCH is used in do_deb_package_prepare - rebase on "[PATCH v3 0/5] Unify work space for packages" Henning Schild (6): meta: Move 'do_fetch' and 'do_unpack' to base-class meta/dpkg-debian: Move 'do_install' to new dpkg-base.bbclass meta/dpkg: pull out actual build command from 'do_build' meta/dpkg: Move 'do_build' and buildchroot stuff to dpkg-base.bbclass meta/dpkg: add dpkg-raw class recipes-app/example-raw: add an example on how to use dpkg-raw .../recipes-app/example-raw/example-raw_0.1.bb | 35 ++++++++++++ meta-isar/recipes-app/example-raw/files/README | 1 + meta-isar/recipes-app/example-raw/files/postinst | 16 ++++++ meta/classes/base.bbclass | 37 +++++++++++++ meta/classes/dpkg-base.bbclass | 36 ++++++++++++ meta/classes/dpkg-raw.bbclass | 55 +++++++++++++++++++ meta/classes/dpkg.bbclass | 64 +--------------------- 7 files changed, 182 insertions(+), 62 deletions(-) create mode 100644 meta-isar/recipes-app/example-raw/example-raw_0.1.bb create mode 100644 meta-isar/recipes-app/example-raw/files/README create mode 100644 meta-isar/recipes-app/example-raw/files/postinst create mode 100644 meta/classes/dpkg-base.bbclass create mode 100644 meta/classes/dpkg-raw.bbclass -- 2.13.5