From patchwork Thu Sep 6 17:22:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146129 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp138461ljw; Thu, 6 Sep 2018 10:23:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY1vZPzMhFGFAcykBQvkTuDM3Iy8bkh5mqUM652p/DznmlgRvciEQWAhddj3uCJkdgoi/g0 X-Received: by 2002:a17:902:788a:: with SMTP id q10-v6mr3819768pll.104.1536254618171; Thu, 06 Sep 2018 10:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536254618; cv=none; d=google.com; s=arc-20160816; b=Me9sNtgo8FUuEctE0pGbApYWM5ODp1J4B6PWh6iuj/VVuNsi5p8/CGl2V50lkWqjeI FwG5DABd4agKRFzA23fAj8Xi7g5yq4Mi5InVXoEyH4k3J0tlB85XkKBojjXbT0r/M9sf 9aLP9SLN5ppehgypfm37SqPNwB+FSWDYVawLPcjyfdsKuB72wUgbUSPUTMLXnWPm+Nam xM7bZt0NGuxAz7+ENAmmfAQEl04KToKJIEr/dyQ1ErbrY5evWgKLJaLd48p1PQQgKHfQ RLMF5RJQ7r8rRa+/z/kARizbE/FyH6h0J0saTIg10F+SuAnoKYbI9T2seJZ6oVv6zqPV 2H3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=+QEQre3VKLAQ68CTF0BHOKU1bkK4oIsbBYiFloh4RHo=; b=Mur2Hxxo3e/ebjZUbvg2F1kuthn944XzdfT3pPqFv7N1O8DFtddj0a1XEHxsHv/RbT d5ReL7i4RJQLO+wAIg/b1WDpkjFfpGF7wMhEfpNh6/7AtUAl0c3zSeyw3LREwZLo1hPO 0Uvn8Z/JOFhGl3iZFGxqOTCLFwoQ5D3eYYp8XV79Og5EosoUOBiy8JDPDUSDa7RO/yjC HFMni17i0ePGyzMX/vcoGmaTuHMLYMBsdzuVXIudc/hi8pgJbZ8/zzyqwmTuRFChAdVZ SSl6syxk5OPsdd8l/De4uCZoFu97+EihFqSVhaBKjjFOV+wMoyt727VLoimaKIKbhDhH kjgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bZbvJq1j; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f77-v6si5646267pff.276.2018.09.06.10.23.37; Thu, 06 Sep 2018 10:23:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bZbvJq1j; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DE94779745; Thu, 6 Sep 2018 17:22:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id 81B3979702 for ; Thu, 6 Sep 2018 17:22:30 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id 2-v6so5573046pgo.4 for ; Thu, 06 Sep 2018 10:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3Q2jCSl9nxbxIm2uOBSzuA9w6TPUFlBjWUvXwAJCekI=; b=bZbvJq1jDzEgBnJc7FGGFHcnFiHUBbTIGHdB+eKJOofQJ4m31xKvYC7t6mH9MthWeV T4fukkQYVeTiu/nKadPRjWJydXwkPJr1UOYKR9bVS8Nx6gK6oHa1VjuvVq/G1e6GTxZU OC+sJB15NwgHYqWW42EW3XZugUKPPZqLSX0bMg9/m69xsF/nJTPD7G+h68qiCynYfdye F+d7b3LaRIzceI44YbkR4VUtEy09ullP9cHIqjP3I6L1RgeI7byQXTWcCUUOpm2Oe4aH fuvvReDhvw8kNHXYDrtcIQJ3E5rsHk4Iu94YfRPJmg23oA+CQldBCS4Ce3XMaWMZXx5n omrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3Q2jCSl9nxbxIm2uOBSzuA9w6TPUFlBjWUvXwAJCekI=; b=Z2wqEbQUTLV991kFpfW8N0zXuTFIFR3OXYdrRXVoEDj89V95NSpzewlqXAUR1j3GsN XYgkze4VwzpXSAqJiRC/GOmuQLwx+Ycxnn/iKBJCUVFti+4XFCThcksYkGYHyJfoPhas Pdl3pNJB1NFZnboUm2kFRE5wuOWN62n+9AhjmAeO/YgOUZQfGxcnF9rIyRUZ4pJ5fjF5 siV/NiKhK3KpRxfvc8cpxY+HD18HbA0UPQOQVZbjFc1nPwzCf/obE40IYe1yS+vKA1IB 9UJvOHT3l6Et5xBK6hVLEB5K3Bp/WUiws+MyMb8o8jWI7/pJRlduH/j3Hxdm3H6XemN+ FSkA== X-Gm-Message-State: APzg51BgOtfDTUrAe8jL6OWN/cqGR0HfPhUcKa553pszyZXlZFWJJH4D ZVDO7RSTCRscSCO4hAlJMkWk7zEN X-Received: by 2002:a62:1544:: with SMTP id 65-v6mr3981564pfv.178.1536254551324; Thu, 06 Sep 2018 10:22:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::71e7]) by smtp.gmail.com with ESMTPSA id 22-v6sm8319828pfl.126.2018.09.06.10.22.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 10:22:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 6 Sep 2018 10:22:03 -0700 Message-Id: <20180906172210.42551-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180906172210.42551-1-raj.khem@gmail.com> References: <20180906172210.42551-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 10/17] mosquitto: Make enabling systemd also enable build dep on systemd X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org systemd support in mqtt needs system developement headers and libs installed in recipe sysroot Signed-off-by: Khem Raj --- .../recipes-connectivity/mosquitto/mosquitto_1.5.1.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb index fa51f4e76e..ae493e7b12 100644 --- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb +++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb @@ -20,11 +20,14 @@ SRC_URI[sha256sum] = "8557bc7ae34dfaf32a0fb56d2491b7a7f731269c88337227233013502d inherit systemd update-rc.d useradd -PACKAGECONFIG ??= "ssl uuid" +PACKAGECONFIG ??= "ssl uuid \ + ${@bb.utils.filter('DISTRO_FEATURES','systemd', d)} \ + " PACKAGECONFIG[dns-srv] = ",,c-ares" PACKAGECONFIG[ssl] = ",,openssl" PACKAGECONFIG[uuid] = ",,util-linux" +PACKAGECONFIG[systemd] = "WITH_SYSTEMD=yes,WITH_SYSTEMD=no,systemd" EXTRA_OEMAKE = " \ prefix=${prefix} \ @@ -33,7 +36,6 @@ EXTRA_OEMAKE = " \ ${@bb.utils.contains('PACKAGECONFIG', 'dns-srv', 'WITH_SRV=yes', 'WITH_SRV=no', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'ssl', 'WITH_TLS=yes WITH_TLS_PSK=yes', 'WITH_TLS=no WITH_TLS_PSK=no', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'uuid', 'WITH_UUID=yes', 'WITH_UUID=no', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'WITH_SYSTEMD=yes', 'WITH_SYSTEMD=no', d)} \ STRIP=/bin/true \ WITH_DOCS=no \ "