From patchwork Sat Sep 9 10:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andersen, Christian" X-Patchwork-Id: 811944 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4010:c07::23a; helo=mail-lf0-x23a.google.com; envelope-from=swupdate+bncbdrm37fx3qhrbo4oz7gqkgqevwzdkii@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="f8gwSewi"; dkim-atps=neutral Received: from mail-lf0-x23a.google.com (mail-lf0-x23a.google.com [IPv6:2a00:1450:4010:c07::23a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xq9tR1pNrz9s7h for ; Sat, 9 Sep 2017 20:49:34 +1000 (AEST) Received: by mail-lf0-x23a.google.com with SMTP id 23sf658466lfs.12 for ; Sat, 09 Sep 2017 03:49:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1504954171; cv=pass; d=google.com; s=arc-20160816; b=KP+tO/4Wbrz4zvRSwXauuj7rHUK4mjAm45YEq6t0Kg+vSa3hxnanE0ZhRs/PdPAcxC aLsZkOqz2HIptRdpcM0o6L+gI2uIB70AIFtXVIlPAqAg9n9RcpZI1MISvyx9KIva1UAO 12cC3R3t/8q41GNh2au1BFVoyyC8N3NHSYGaaQRFudhd1BScw3dWVEfJBU8ghOM6z902 XL1ADjcKD6zrzNEJCzRKuRSk9Xwi90VsQsmVtqsy5eofJ0u6BJddtmHTRXVBeFTgQh22 aqmGDfDn9VcLQHcLlOso5rMHkR+OrhS/mAa+8VlJJdm9sN8hJ3cWqYaKVuE1Vpm38Kl9 jAfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=/uDflkC0ZORh+v8bGmucJ/pO4T2+GXxfssbMKO+18xs=; b=vjw8WmMr1boi8GI5t5faFHuaEfKmitkqIU0Gb9h0xpNG8IuAeARG26vNq6WE4Q99Jf R6v8IaczxfJOFQI3F6Ow9owcnnls8u+JI1WuYwyzgV8GzxyORuh/wyG8w7Wt4XEyTolb QV4xXZ1Bbgt7DlsQokfA/theO4EU1WVSCvh/SJMTo5QGCzBA6mL4XJFYpUIcRUcdQ/IJ bzirGrZ9TYpQ2e2jK96I2uSgEIM7BqGrUwh6eaP+JTtk4hG/6nieapa4sJgrhnk/sPQp ANKLjYkH2Zvi+QQX1qeKf98Bth9TY42P+ZLOcoCngm7uIbyGIEA+FU7wUtX0AiboU8E2 rDNw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of c.andersen@kostal.com designates 193.22.205.229 as permitted sender) smtp.mailfrom=c.andersen@kostal.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=/uDflkC0ZORh+v8bGmucJ/pO4T2+GXxfssbMKO+18xs=; b=f8gwSewifScYxOcFmzfNk0p1FXnVqRFA+DzhrgcRIBSAw/z5UX9ePszkfJDcv8IWX4 4ss1fXWfb+VMRQRf3JUYsp5HV6ZZCs5s1JQw0H/CDqdPC8sgDhUTBCijyv6iu9kbQU29 Y/YWyR342bfiD06fMVTKq8c3hw1kz94IBopM6jncZGZHZCRtU3P9zBv2CfebAPHTjhYk wXisVMVy8LAidq4RfcB/f5K6EzpOrNHwV2nWKOcGPHQutDFq6d8iMlLWnQWKLczfGPJ0 AmB9X9xO7FqbX/puB4ZvvZ9RkZ5dIub9WMRCRPu2fwHvaC+WlQXufUSnN6mNhKyStNBP VRfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/uDflkC0ZORh+v8bGmucJ/pO4T2+GXxfssbMKO+18xs=; b=P83r3zlBgjS8oqV0ZqvtlMZxIf3Q3X7M3BFolvT9ADYRnee6v4jjNFJlVMAJYtkNkE 4RYeEchvBA8hgsigNSdU3IPvy7GtEdTs6VybhIP0YIboJ91AEHVPyMllKWwqbXkde8NJ O0NpgIXa7HKiiG+JVGlSE1QC7oDxcvux4zrAEFyPzUDzDhxoIBPV8LPVgAQf1+7mbgR5 slzAaxB4H13Oxk51RsIBLPzbvoJev1z4rk6vuRYuoFyzg+MHJxHNI1yLx/qmh7bCMQFK MN06Gw3KFfSRptNCJKsuh6X7sG3NfqAUEZ72PQFuc0BHqmQPJs5rEAj8YQKbxmOCEAIC ot+g== Sender: swupdate@googlegroups.com X-Gm-Message-State: AHPjjUhUTJ8w7dDNvV8IGz3DR+vBZkVVm8FmGH+6RLRwmq/0f4jFqCsW fHxKOyGJD1LJbA== X-Google-Smtp-Source: AOwi7QCNYkkWkg2vWJk3awba8128RVJcZ0AfStps7oXx3096DesaAgvNzJvdcspA/m825Uck6RIlZw== X-Received: by 10.25.56.9 with SMTP id f9mr6994lfa.17.1504954171559; Sat, 09 Sep 2017 03:49:31 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 10.46.1.28 with SMTP id 28ls68912ljb.40.gmail; Sat, 09 Sep 2017 03:49:30 -0700 (PDT) X-Received: by 10.46.33.202 with SMTP id h71mr417942lji.3.1504954170883; Sat, 09 Sep 2017 03:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504954170; cv=none; d=google.com; s=arc-20160816; b=dOp73V6DBsMCq74Zwu0g75xvbzT0iVX/RXrWakXZSCIBNBcxJ0UsVFYNEHDPHtFmrY iiqL9hskCCIuiaUDZStCLOBJVHcB3si6+aZPMUW2TEVtggs/sXo86vbgUOlZYFTxlUtg ANbTeFsrgyheeFO0mDUZ8zO4fJryotcZjswh8bdcq89HxabkS+qYAMe6WZ36A645sB7R 7EOu0erbBopaBYmQaYUHsnK7OHtj7fakC1vJQZlqC607u83SXDFCUBIhFEuRQMVOM47F bhbgAnBBMSG4BT1W0DTLqzFULfnsCz2qc6f6ulloBOo3Rht391D6zRWftcfgTVhk5wG4 jNyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:arc-authentication-results; bh=b380WKoTZ4B2AlixwNavCtAuF8DvmxZNs7j6bSOImzU=; b=EjU9qG5xpblFYhFiSlQ6rRoku545IFowkGPWseG3VrimmJhmmFFIv/3IEGtDgJZZNI JW9wrsmBI9JGfEIqVloFJmX6kfO/mgSjaeFsO5B8WdhT2TSnmwyQNePg7xBkawbk6Pjz HW91XVjRPDzTwEY/PoIV/VMn/58SFR2x15hhShxDt2XU3Xs01tU1KvjW8E27/SPY4of4 DcsBe9l991fmzPXEkUwwAXIFItU4dcAa4ajzOaRVWuqeDT683vZPU5TI/kdjDrdjeuYX zoGwVo5G5ZheoozXKo71DOqP8OXGYJ9Go0qlQcioeVXs97raq3hLInQl95tPAsW42hfu BXUw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of c.andersen@kostal.com designates 193.22.205.229 as permitted sender) smtp.mailfrom=c.andersen@kostal.com Received: from securemail.kostal.com (securemail.kostal.com. [193.22.205.229]) by gmr-mx.google.com with ESMTPS id 74si278990wmf.8.2017.09.09.03.49.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 03:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of c.andersen@kostal.com designates 193.22.205.229 as permitted sender) client-ip=193.22.205.229; Received: from DEBEMAIL002.kostal.int ([10.20.2.182]) by securemail.kostal.com (8.14.7/8.14.7) with ESMTP id v89AnRn5032134 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Sat, 9 Sep 2017 12:49:27 +0200 Received: from DEBEMAIL004.kostal.int (10.20.2.184) by DEBEMAIL002.kostal.int (10.20.2.182) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Sat, 9 Sep 2017 12:49:27 +0200 Received: from DEBEMAIL001.kostal.int (10.20.2.181) by DEBEMAIL004.kostal.int (10.20.2.184) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Sat, 9 Sep 2017 12:49:26 +0200 Received: from ubuntu.de.kostal.int (10.20.2.153) by DEBEMAIL001.kostal.int (10.20.2.186) with Microsoft SMTP Server id 15.0.1320.4 via Frontend Transport; Sat, 9 Sep 2017 12:49:26 +0200 From: Christian Andersen To: Subject: [swupdate] [meta-swupdate][PATCH 1/3] fix image generation when signing is enabled Date: Sat, 9 Sep 2017 12:49:03 +0200 Message-ID: <1504954145-19534-1-git-send-email-c.andersen@kostal.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 x-msw-jemd-newsletter: false X-Original-Sender: c.andersen@kostal.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of c.andersen@kostal.com designates 193.22.205.229 as permitted sender) smtp.mailfrom=c.andersen@kostal.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , When using signing openssl-native is required. Since pyro the sysroot is deployed per recipe, so do_swuimage also requires do_prepare_recipe_sysroot. Signed-off-by: Christian Andersen Reviewed-by: Stefano Babic --- classes/swupdate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass index 28297ca..5a2d963 100644 --- a/classes/swupdate.bbclass +++ b/classes/swupdate.bbclass @@ -199,5 +199,5 @@ python do_swuimage () { COMPRESSIONTYPES = "" PACKAGE_ARCH = "${MACHINE_ARCH}" -addtask do_swuimage after do_unpack before do_install +addtask do_swuimage after do_unpack after do_prepare_recipe_sysroot before do_install addtask do_createlink after do_swuimage before do_install