From patchwork Fri May 24 05:09:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 165083 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp3110243ili; Thu, 23 May 2019 22:10:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzk3vMqzmpc48Voxk//mRlKXSPMiVn8i6CTY6jn4dXWXBw2vJLCDjufZh0maSDU9TRgk3RP X-Received: by 2002:a17:902:9348:: with SMTP id g8mr60843039plp.174.1558674609361; Thu, 23 May 2019 22:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558674609; cv=none; d=google.com; s=arc-20160816; b=SQExyoPVElH4Vf6wjxQI7EqRKK+9rEbpRmQ/FltCTBrX+kbdHmPLSR8CfJ9S4f2EnK VIxF85dFow5NiivYDzD9CwEBrOBqRr2MCZmgE6iuryBfV2kPeaOxCU/HYSZcLFOX6BP9 j052Fo6xfHCXZr1w/6IJ2zC5aaabZ/KVMgjzLhdGmcL+oRpif9JCX6+xzeIV6ESSFy0X HTVc7LH42KeJdfQKw7ije1QIT70NMNHnzAxGLTQC7CXf7czoS7gnWlK2jM/dbNRYIrvD xjCzhL4/eHvIBHN8JnPAMzn96+tE3PCw3PgF51qfW4/Siw4+YQojak2wYObx3kCK8JUT aVpw== 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=APJUvj6Mer2Js6gVNpQ0jbFk3/b7aT9aMdTdaf0SEpQ=; b=zHAJnxtTl8/xduzVYpNORvIgnPJt6bEnJxKXt+rjaeYjt+D5IhbDSZnP6hUhqsdlF9 9oCAThCU0hr2wI+cdwcdB9SHtDFocGQrUSbXIG+eeDh8CXc8Tk4fgyxRCsI/qto+9Rio 3BVep0u7kFeKqyRwk9v7HH8Xb+UcMEDirZtyFtB0BH17JQ2gPLqk+fIONDoH4EoKJgSK HgL729XtJSZszsYVi5zZwUca8wzIqxfPg9+qDdDmk+lLdAooQP+bIeoyMirqUgGN3ghV X+d4swmvNpIXOG4dZ4XTGguMNsM2Xi9SNfD+7NQSlujdW7bA3L8JurXwbSx72cZEQyQE 54xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=PsO4kDMQ; 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 a191si2430603pge.421.2019.05.23.22.10.08; Thu, 23 May 2019 22:10:09 -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=PsO4kDMQ; 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 F06907E467; Fri, 24 May 2019 05:10:02 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mail.openembedded.org (Postfix) with ESMTP id 590867E1F9 for ; Fri, 24 May 2019 05:10:00 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id n2so4342304pgp.11 for ; Thu, 23 May 2019 22:10:01 -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:mime-version :content-transfer-encoding; bh=y5Ipgg4/rc3e8yQ1DxbqMxDqe0QR5meE3O/+dKWLFwc=; b=PsO4kDMQVQqt6omkPABjYst46s4twZ17IBA6q9115/yQPQCze83qdN8W+eO0Oowz6t 4N4IwRmkxCwJNKHQq4pUWtBR1ePxV2IgP5yv4SP81kPKmUJ6hXuFtLija+2PGYkGJRmT iwRiBRA6QbQ/rMVzI0ARcyMedfEvciU85l3UHV51wqE4pFdCS5zkLn50bozfUy9iOmv2 Dv5Q0FlGtruNFvFblFo6/2FrxpKTLC+U8BOHNTRQQnq+cQPZ1oFM7s9Y/aYap1Dv6+Bh C2+gNg24vVQh3+d8anujaSdm7d9Ce2dIr/7CIitYL5RiajnFFcqXqSgPb1TqQLefHtTY I3MQ== 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=y5Ipgg4/rc3e8yQ1DxbqMxDqe0QR5meE3O/+dKWLFwc=; b=Q7uhiYI8WkZjh+pEr1LbYRsm0o08mFE50+NTgDuuKniGD5c/C6qTyfRGvC/5Cdr++d JF1ckgn24E/rn+dyb9LYlLmn0Nnzq1yBaT/C3zyxlTufXsc/mvVBGfRTLQrSpdf5MNGZ Qd6ZeBUzmmRyBQq7Ye0ZKL7DZS1qnK5FPvpFHcZsTq9g5lRgxM6MZRie7Hz5OlKr52UI fu5VDma/1e+CNuexjNEfB6qUDH0/3XioNIua8ngd9Qad1vnI7Ed4u051LhAhIMjyHPY6 b0N13rIZew9wxhi1jO0M7ER7r0VdMC0iijFc0EFZPre+NGiDPtM/jfdi68Of8lx+JLzt EN/g== X-Gm-Message-State: APjAAAUWz+DG0mMWWF/8BJCxyhMMEmuuuS9MN3TFynuUtAadps1lAG8v 5o2hgE+QzAg56Tg+TdqBX6hZDScoY9c= X-Received: by 2002:a63:246:: with SMTP id 67mr104219249pgc.145.1558674600956; Thu, 23 May 2019 22:10:00 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::e252]) by smtp.gmail.com with ESMTPSA id 4sm1212803pfj.111.2019.05.23.22.10.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 22:10:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 23 May 2019 22:09:52 -0700 Message-Id: <20190524050953.9647-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/2] udisks: Install bash_completion script in OE familiar dir 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 bash-completion packages up /etc/bash_completion.d automatically so install the bash completion script in the above said dir inherit bash-completion to do the needed for bash-completion package Signed-off-by: Khem Raj --- ...sh_completion-script-in-etc-bash_com.patch | 33 +++++++++++++++++++ .../recipes-support/udisks/udisks_1.0.5.bb | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch -- 2.21.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch b/meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch new file mode 100644 index 0000000000..16dc440674 --- /dev/null +++ b/meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch @@ -0,0 +1,33 @@ +From 7863a72c723035529d6fd8d626d7fbf9a765f162 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 23 May 2019 21:49:57 -0700 +Subject: [PATCH] tools: Install bash_completion script in + /etc/bash_completion.d + +In OE this is one of common locations to install bash_completion files +and its covered for packaging automatically when bash_completion class +is inherited + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Khem Raj +--- + tools/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/Makefile.am b/tools/Makefile.am +index 0aaec11..839c961 100644 +--- a/tools/Makefile.am ++++ b/tools/Makefile.am +@@ -72,7 +72,7 @@ udisks_tcp_bridge_LDADD = $(DBUS_GLIB_LIBS) + + CLEANFILES = $(BUILT_SOURCES) + +-profiledir = $(sysconfdir)/profile.d ++profiledir = $(sysconfdir)/bash_completion.d + profile_SCRIPTS = udisks-bash-completion.sh + + EXTRA_DIST = $(profile_SCRIPTS) +-- +2.21.0 + diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb index 3ae8ecc15c..0373749f0f 100644 --- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb +++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb @@ -17,12 +17,13 @@ SRC_URI = "http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \ file://udisks-1.0.5-fix-service-file.patch \ file://0001-Make-udev-rules-directory-configurable.patch \ file://0001-include-sys-sysmacros.h.patch \ + file://0001-tools-Install-bash_completion-script-in-etc-bash_com.patch \ " SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd" SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71" -inherit autotools-brokensep systemd gtk-doc distro_features_check +inherit autotools-brokensep systemd gtk-doc distro_features_check bash-completion REQUIRED_DISTRO_FEATURES = "polkit"