From patchwork Mon Sep 25 15:01:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 818288 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:400c:c0c::23e; helo=mail-wr0-x23e.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbznvuthakgqeaqt4p2y@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="gwOqBJ1p"; dkim-atps=neutral Received: from mail-wr0-x23e.google.com (mail-wr0-x23e.google.com [IPv6:2a00:1450:400c:c0c::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y16mn2bs2z9t67 for ; Tue, 26 Sep 2017 01:04:07 +1000 (AEST) Received: by mail-wr0-x23e.google.com with SMTP id l22sf1128303wrc.11 for ; Mon, 25 Sep 2017 08:04:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506351845; cv=pass; d=google.com; s=arc-20160816; b=Yc3zN8T5hJpm5Kz25myP08b0LUbrHyv/xLmh6mpfETKM1LpXD6mVjP/q5m/NxLFFeo CKopGZhP5RW1qpQJaKDWIs4KG1tXlczJmi2fAzCchFKb5GycYQyueRIvL4JiYOjAVpK4 OALpySx+W5e5c8dVH/hUXTtWOpyd53XaYdvb5Opr6ZBqsk13EtmlCh4+dtI4NC5XiOo7 l/+jPUZKAXlT1ZzdCefyNBpz2b7PmS0nNboz8bNBNU1KChuHH0DXhss4emmoIlC153wO bARdW/IBC/01n5evyiB3a4+lMaR6DN05bMVFhMFesXOnFrXt3joTvqblWg6vY/xNU9yd El8w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results :arc-message-signature:mime-version:sender:dkim-signature :arc-authentication-results; bh=KJl4m7w42gOT1kHXFyY3EyXW3mTgb2nkJ3k/oifHDhY=; b=JBTOKLe7vWQ7quWIWVp9vUg+Vnznsx4cK9srdlaJ4y2fF9eImaL8kRISLCkxJODLx4 UI3xXNep5Aae1dXV76bhH5PDdCOy/P2CMmDtJyeuVsdgev/xZidqrrA8RG/LR2tSpb7H sHxBbr+WAbdFkwjXKyHBjOTXO4r+spscdcCeROTlEkegvng2JDuWT4jx590BAU27rYev LtXsebR7QGRkRE4w2zHIsCC4rp4cTEpEGzvWQG1afG0alrp6zMsfZQfyFw8qpnz84h37 d+JRJSzZcHwYecLOEW5Yraij/rVLwJaZ3PmSTJhC25gl01/G3reB0LgQnd41krQfutU0 v85g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=KJl4m7w42gOT1kHXFyY3EyXW3mTgb2nkJ3k/oifHDhY=; b=gwOqBJ1pNYH9uiATy3id8pUo8snYowZT+4MiaB9u0rH+a4etKM6j+NSXh3JxeznJYg pcSdfYnSVfpm1+2mipm1NfeVEjhOX255T10vm+MD5aTtLgW6R/0minhGfkmoTCVLFVNU BtVXtsqSc+G9S13MAQU0ytfS8HWWVnvk07Pq94CKS6yFD0M6iqp8s6+RFTFSo6IuVW99 LmYIgpXMHZ2dLK2Nayz6RUmbkuRDaud5ce9cMidIz9kfiK9HuuS+jPzxzByNU2E1Mmvf qRBGB2w+J9TdCuuMXNW5heraDIOYv6md9tWT8OhJgwnWv1sqm+pPY+dXdFSqi9YHUctK 0zzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references: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=KJl4m7w42gOT1kHXFyY3EyXW3mTgb2nkJ3k/oifHDhY=; b=SGmKPhg/MUw3gdK67BqR+WS1pAltvpLFYZDPbneD3VUq6VC7YvIR0THrjd/sN5Ex7I d1Sh3tWzHkh3o+1OwK6kGBaDCo9/NQjsxkOjVA+NuVUcJFWoJKwvd9guKxP+k5OSiu6A 0FGR4apsWuuoj0mAdYshv74asjxfdwRl1/dvUpMEsRl623/KbJCrmiMnbXR4tntEucMx b9qLpX0znCo3003DdPzqvHk2bgAfzM9ngrVLpHkunXP6fSHmNZuKAx4IjRSgoleXfFw3 RnEmt34vJSR8FwZWx2AnA8x+h03rmY6lC0PcCsbLqpPi0ioId47tYSFdJ969YNQc2Ga6 56LQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AHPjjUjGecVTHhPGr2HpxhJXKN28wx7PO3DvUfC4AkWREAoOtWS05I75 xzdcWdZFN15qk0pslFpnkJg= X-Google-Smtp-Source: AOwi7QD6oOPIOYfiUNfEqpy859rT5biR9HNR2pe0YAiC4Z28fi+LXkaSMKo4cayjVEByoGNhA/ifmA== X-Received: by 10.28.17.129 with SMTP id 123mr1458wmr.23.1506351845628; Mon, 25 Sep 2017 08:04:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.28.161.4 with SMTP id k4ls1259038wme.7.gmail; Mon, 25 Sep 2017 08:04:05 -0700 (PDT) X-Received: by 10.28.135.132 with SMTP id j126mr86191wmd.0.1506351845365; Mon, 25 Sep 2017 08:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506351845; cv=none; d=google.com; s=arc-20160816; b=1JOsgwGbL56XJF7nP12gz4RG2MGW6WRqucfj2uoA2tyVcxStfzdlgArQzlMcFDvLqe olm5+Z1DzklQE7PD7hMDVY9rJX1Z5FzCiNghj7g7AZGkvWjv0lnvaxR4aQ+narGBREfl Xl4RjRvsu7gKz1JCuduKI11dLbvs4DN6g3htHE3aV2UuYiivRGkmLShE2g3ytt6vjDCC Iy//3Duk87OhQVHJyTlx6LklIsAhZShgkQW9xaIF54pyWCh9Z2MwaRDaAuI+t3GWOOxg YU4jCnzCBZ+bAV3UcDl/VzAV2YUJN944HHGXNtUxDHcuIXheZQ0FC8HbEgJr2Mx1GXZg hCog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=KQcIDNdrmXwZTGfmy+RLoHnjy0LBaWgnWeQvnoCbU6Q=; b=vULWBLTpGQgtWNBZJo4D+6Ing0b+Y5JCAxKLJ0KLKFHOceG0ln767rPtpd9dA41LBh jy85GaEfCnhk4Wn/bU6ADLvkqFx+QqydHNXSPenViIFqJODTGNA0SfKCAMIdFG1ngs2m dRnh7ku1Xtg5RXbdPBfnT1XfAVGBghcV/HqMcHyT8cpfIBBdFN4mrPdCujJfs/0Pwou+ Vw7vxmnqxP6gAyMx8K09bZZwK+QadCgNyHCC+tCLTdsu3OfZrG5LBYiysZDnqZZYghcM qbZI+4q5jNg3bUCR5jN0RqqvdSIhv8/CYxVQPhoTq+45TLKxgVq/Uq7JmoAYs9xdF4jC /lfg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id l133si544960wmb.3.2017.09.25.08.04.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Sep 2017 08:04:05 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of christian.storm@siemens.com) client-ip=192.35.17.14; 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 v8PF458K007939 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 25 Sep 2017 17:04:05 +0200 Received: from MD1KR9XC.ww002.siemens.net ([139.25.69.251]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v8PF44cd029996; Mon, 25 Sep 2017 17:04:04 +0200 From: Christian Storm To: swupdate@googlegroups.com Cc: Christian Storm Subject: [swupdate] [meta-swupdate][PATCH] swupdate: add libsystemd dependency Date: Mon, 25 Sep 2017 17:01:14 +0200 Message-Id: <20170925150114.15800-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.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: , If systemd support is enabled in SWUpdate, add dependency on libsystemd. Signed-off-by: Christian Storm --- recipes-support/swupdate/swupdate.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 705d312..0f8ea94 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -59,6 +59,10 @@ python () { depends = d.getVar('DEPENDS', False) d.setVar('DEPENDS', depends + ' json-c') + if 'CONFIG_SYSTEMD=y\n' in features: + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' systemd') + if 'CONFIG_ARCHIVE=y\n' in features: depends = d.getVar('DEPENDS', False) d.setVar('DEPENDS', depends + ' libarchive')