From patchwork Tue Nov 5 00:58:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 178476 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp43218ilf; Mon, 4 Nov 2019 16:58:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwLT2Dy29QRmlo1wEihYJ2MXsCB0yZ/ymfPC93I0ZP2m9Ha6Q8psbJcPPaw1Iw9B5shFmWo X-Received: by 2002:a63:cf18:: with SMTP id j24mr10579174pgg.406.1572915517719; Mon, 04 Nov 2019 16:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572915517; cv=none; d=google.com; s=arc-20160816; b=xvfJ7pE1HZBOFnHXXMwomAevXuWOcBh0qfiVUQsyoaF6mSCkWQajwP3L5L5pqbpGSD LbyJM1GoOdL9zqeXwLHcbY5FXYNnZbzikZk+wSXtwVI2R9vHJtoyFU9wG9vMR91t4Iij rQ4GhhGvtUscG05PByOatVUoNQxUfugKL5o4pQNx62m7Dm+WdSHCWVkqjgH8WbL76ihO Vh9Ep0h/J5Toik92QHMc29Npa1XkEu03xJYyt1MaR3+zV2MTaE65laKrfo6TNcAwh8Ez Lup1YOJfI/n4CQ1y3q4cKgQz5vDJsm/ETYAGjdJyV7F/h/bu+IMug5R0MKTXWdmr3otu UTCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=n3PCPDYBctZfu1KydPNMHPAIA9qmtUnXilRs9uNdc2s=; b=P+VF/XO24K/BM5K7hhbXQkwgmiLPvpsdSL/iyQQflT8AomKVL6zkX7l1BsXvEsI/jg 6ifbXZB3X1C1Ik1b8JgiNi1aM/Jb23pGo3tAKj+uApeyfDiTWCY5tm/mZqfE2uY/8lry SH7nnFkDxLZAnJt/rDJ3hTL2emu49G/YPFPNY82D7dd7u74wHc7Hr6yHa5KeXsBJFKo6 rUm7ErBg3zOgji8RAYeKaMf0Fh2x9kCi4O5/zm3IOLsh8OyQhKQyOLNJ445+t61bGFLr TmIFdpIX+I1rvArfsZ43fu9jL7ylLWore6/DF3mWrSwb6qBWfAlFBJqNGdrXDKStqhXV q2aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="arSoq0a/"; 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 j23si1811538pgh.514.2019.11.04.16.58.37; Mon, 04 Nov 2019 16:58:37 -0800 (PST) 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="arSoq0a/"; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 413C97F961; Tue, 5 Nov 2019 00:58:28 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id EB5E37F93F for ; Tue, 5 Nov 2019 00:58:22 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id 15so12768447pgt.7 for ; Mon, 04 Nov 2019 16:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K22NL5njPTnLtnpEsCya+c3sxH5mgCsOUs7VXa6bMsk=; b=arSoq0a/GnQlmUmf4DBz0kIbODxO8/Byfjbh3lGdoqIFxk11NRenizWCw63Hyoub+X yNwjXAB+HRv2BgvhEwCLjESw/nYVlfD0wFOtZoKxaLmgE8FYUzaz+fUNF6oQ64BzhF5D RCEJiy7MnQnQCIuRc8LAhUMqdW+LCT87zxIhvKYtGJvIota7Jh+m+vNCwG392uby6+PJ zLb2Qgmps3+j6qfGdYwMdZMiEO8puasc7FVhWrWpuUYjFQhYAMnQNpgch1ChGLqZAQ6S LfW2sxZa4Wxgr7FwVUI/QxdBB/1fqNYvAGD3up6htBvn9nImwumCKcaqqysnBZZL3rno GIoQ== 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:mime-version :content-transfer-encoding; bh=K22NL5njPTnLtnpEsCya+c3sxH5mgCsOUs7VXa6bMsk=; b=KxSCWGB23CKd+8fEHmzdbkxfw+gInBnsCHTt6JdD6b8yC7qVK+zdoxxmS1PZvoqsg1 xgU01zK4MyNNK6otqiXrD0SB5MwOIBuuOHTGKPluNKAnf5lboBnHIBrvXQT2SEC9iUvr f26eP2FrP8U8TdFxXbEJveO1NlJdeG4FE0X3saVubuFbS+FbvFOslM1GpwincwY8GsNC 7pn42nZHypYkQD0Iw9UhyA0fvkCJL+tLXUbCHV4twO9sSwXihTksEg5o9grcP9zwPKD0 VzZcl3mJj7nxkFGZs5DhJ1rhmAWrG+2lseU+kchuew8WKv+bol7d3lK7Z8Urz3gzpgVu uxQA== X-Gm-Message-State: APjAAAVO+pf5gRbl+wIjuFGGkr07NYlHKY37TWZOmvkq+64p7nHpzifu fgcB3YZ5+MSYtu2FBt4bo8kBVzIBzZk= X-Received: by 2002:a63:5a03:: with SMTP id o3mr32762475pgb.381.1572915503130; Mon, 04 Nov 2019 16:58:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::5caf]) by smtp.gmail.com with ESMTPSA id b23sm18856620pju.16.2019.11.04.16.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 16:58:22 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 4 Nov 2019 16:58:10 -0800 Message-Id: <20191105005811.2708915-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/2] iwd: Fix installed-vs-shipped QA errors on systemd units 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org package missing pieces when using systemd Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/iwd/iwd_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb b/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb index 94d86d1dc2..81260cc020 100644 --- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb @@ -26,7 +26,7 @@ do_install_append() { install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN} } -FILES_${PN} += "${datadir}/dbus-1 ${libdir}/modules-load.d" +FILES_${PN} += "${datadir}/dbus-1 ${libdir}/modules-load.d ${systemd_unitdir}/network/" SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}" From patchwork Tue Nov 5 00:58:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 178477 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp43875ilf; Mon, 4 Nov 2019 16:59:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxlyBUPd5wdvJOHDFtyRNf1IDvjl7iLmUxoaeRxYurScBDfHuwkprZ4ggHX3PS9/ehbEOc2 X-Received: by 2002:a63:1460:: with SMTP id 32mr5627548pgu.197.1572915565876; Mon, 04 Nov 2019 16:59:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572915565; cv=none; d=google.com; s=arc-20160816; b=xQCzFyrOKLSeSf2XPn2epgJzty6q5qxsSPbDpIP3SM2e7y7p4Tath0kSRWtmtR9w1s LqWF5HoxfDbTwLRTLcNcPpwBJ625nWhjqdzRlMmg6UbJrCm57XwHqPXLoOtX4Spa7ibj yHR8saGdDL8P8VJ+LY+fTJEeuFP0VlCCDchDQq9VghFANOeWbi0mKtvM+vB3nFtbnm36 yaovUTx281bt0MDiAsLI9Hg6+icBM6/SnHoWqi5oxycwdNbdiJTqci5G7vmMshiw6T/r ZBarNkoxg9+21O6dM+5k2QTh9PErdnV1cdwE4AaXxcYVLPX5wtYDC3ijaZx2dsjj+pDm YEWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=G1DmU4WuLJZY9TuFAuMHTTKxAQQnODXPCBPuqkoi3W0=; b=cR504NbqKcp7iJYuKUVoHHVea7sgzCPI1y4OX1GHYWqdww2xWmohLYvxRmx3tylnRB 1+Dv6R1Xz/Cm6XEMd2QFe6HRhm6I8q3unDtcAMQBa+IgJavCmHV3f464q4D+iRHqLo85 AhBtli96TXvPUepCcQIKP+RRQhSXty9yR8qfu63PIbt4HTMsvdDBEuqzAE0ZfBYwv13R UmFA0Wzxf5vs9BQ7yYHN1II7WwxhYLmWlmkMvsoqM28I7BMHq3Z0rkiZCwa7XFAn1H1w xH3AaTDmAVwfc8bUAVk09ZwdX67azppwsbR6mtYBM6OjSK0mxPFCVQDMXCkyYgIn/tN9 8toA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nUqZrvbL; 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 bf9si2935750plb.224.2019.11.04.16.59.25; Mon, 04 Nov 2019 16:59:25 -0800 (PST) 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=nUqZrvbL; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AEB857F977; Tue, 5 Nov 2019 00:59:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mail.openembedded.org (Postfix) with ESMTP id 9DDB27F93F for ; Tue, 5 Nov 2019 00:58:23 +0000 (UTC) Received: by mail-pf1-f176.google.com with SMTP id c184so13860340pfb.0 for ; Mon, 04 Nov 2019 16:58:25 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=Ecs6sE7BbplK6NAwjriYrCwX3z5Z01qiUrgvOGWg97o=; b=nUqZrvbLn0fDRs4n78EOijeRcNMZTkcoihBUReD30nikVzgs8q/SMe72VwpoTp8AVY vdr2p73O7j78n5crAsTQZEOUbSU6SXpLo6/YSZKs3TWzWPOiFUJYWAKpShfjzepjNuz0 1JPJidpuX0zGn10MjuXWu9wEwjAcixOqvmph5X3YewkNCI2/Kn7afp8zILeHFwNSFK8y ntdREaBBYUcUyJS+KYfHG2Tfpc60kgnyxyZB4uqS9pNcfx1Ym9t6hOAM+/AnIGj4yhKS AvBdXovHVb/g7/vxDzGeruI8b55dRTXj3Ak4IkqvdUJDAdpZaMFdicyP6RFk3RNpfAHk PLtQ== 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:mime-version:content-transfer-encoding; bh=Ecs6sE7BbplK6NAwjriYrCwX3z5Z01qiUrgvOGWg97o=; b=FO3LujuIOakzt+c/F+ZPYmE7PuVufWYZ/tI+Uw4zoRF08JCOizrtv94YT3rLc+srIh JebZfaYmLL1UsM35J1LF5bqga2k2NHRWq16brl0lRC2D1gpKC+x/YlujQw1ZOVVlSjlV 86ECA8JTfzQHfi44x1sZ5a9nFy3+hRtqEb3EBHPEyLZPpEctl9uZO5fN50E8SAO9KUge v+0YO80uzE2N50UxnaxzlOqWgN+6SmWLhBjxMTrF/9wejCPYmwBLqLzpMXMvyhIRZ30/ ikL0QWPd0EIqXwORvQl+WL2p0Z2Vl6f+tahHX387sDSexHAnegccBBs4PPFhFZ+6Hk7m IJjg== X-Gm-Message-State: APjAAAWyl3HqO0sV6pHcUjBe/3vQYdqpY1tfEOItWO9vIlFvt0Lzy5LW E9T9KTNB5XAmzXXHBkdfzo5ZotaHHXU= X-Received: by 2002:aa7:95a6:: with SMTP id a6mr34495630pfk.137.1572915504107; Mon, 04 Nov 2019 16:58:24 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::5caf]) by smtp.gmail.com with ESMTPSA id b23sm18856620pju.16.2019.11.04.16.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 16:58:23 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 4 Nov 2019 16:58:11 -0800 Message-Id: <20191105005811.2708915-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191105005811.2708915-1-raj.khem@gmail.com> References: <20191105005811.2708915-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/2] iwd: Fix build race during documentation build 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...d-redirection-of-input-and-output-fi.patch | 52 +++++++++++++++++++ meta-oe/recipes-connectivity/iwd/iwd_1.0.bb | 4 +- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch new file mode 100644 index 0000000000..86837a9f66 --- /dev/null +++ b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch @@ -0,0 +1,52 @@ +From b6da226187e704cd07857d8afeaade545688fcbb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 4 Nov 2019 16:38:04 -0800 +Subject: [PATCH] Makefile.am: Avoid redirection of input and output files + +This can cause a build race in a highly parallelised build where a directory is not yet created but +output file is being written using redirection e.g. + +rst2man.py --strict --no-raw --no-generator --no-datestamp < ../git/monitor/iwmon.rst > monitor/iwmon.1 +/bin/sh: monitor/iwmon.1: No such file or directory +make[1]: *** [Makefile:3544: monitor/iwmon.1] Error 1 + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + Makefile.am | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 823b7d02..21dd707c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -627,7 +627,7 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ + + if RUN_RST2MAN + RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \ +- --no-datestamp < $< > $@ ++ --no-datestamp + else + RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \ + { echo "Generated manual page $@ does not exist"; false; } +@@ -637,13 +637,13 @@ endif + $(SED_PROCESS) + + %.1: %.rst Makefile +- $(RST2MAN_PROCESS) ++ $(RST2MAN_PROCESS) $< $@ + + %.5: %.rst Makefile +- $(RST2MAN_PROCESS) ++ $(RST2MAN_PROCESS) $< $@ + + %.8: %.rst Makefile +- $(RST2MAN_PROCESS) ++ $(RST2MAN_PROCESS) $< $@ + + install-data-local: + if !SYSTEMD_SERVICE +-- +2.24.0 + diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb b/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb index 81260cc020..d11e0d4ae3 100644 --- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb @@ -6,7 +6,9 @@ inherit autotools pkgconfig systemd python3native DEPENDS = "ell readline dbus python3-docutils-native" -SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git" +SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \ + file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \ + " SRCREV = "971e1d2038a203ad43bd2278a811a9e5ec8d52db" S = "${WORKDIR}/git"