diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-05-23 22:04:34 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-24 10:11:28 -0700 |
commit | 07d46c62614af8ff98ce42a28bbeb5fb2549d11a (patch) | |
tree | e046ce1a5594709d1dbd4b2b1d3e74a7cb4906ff /meta-oe/recipes-support/udisks | |
parent | 9e25b6587cd02d6518c09c92a181cf00e5110f9c (diff) | |
download | meta-openembedded-07d46c62614af8ff98ce42a28bbeb5fb2549d11a.tar.gz |
udisks: Install bash_completion script in OE familiar dir
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/udisks')
-rw-r--r-- | meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch | 33 | ||||
-rw-r--r-- | meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 3 |
2 files changed, 35 insertions, 1 deletions
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 000000000..16dc44067 --- /dev/null +++ b/meta-oe/recipes-support/udisks/udisks/0001-tools-Install-bash_completion-script-in-etc-bash_com.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 7863a72c723035529d6fd8d626d7fbf9a765f162 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 23 May 2019 21:49:57 -0700 | ||
4 | Subject: [PATCH] tools: Install bash_completion script in | ||
5 | /etc/bash_completion.d | ||
6 | |||
7 | In OE this is one of common locations to install bash_completion files | ||
8 | and its covered for packaging automatically when bash_completion class | ||
9 | is inherited | ||
10 | |||
11 | Upstream-Status: Inappropriate [OE-Specific] | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | tools/Makefile.am | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/tools/Makefile.am b/tools/Makefile.am | ||
19 | index 0aaec11..839c961 100644 | ||
20 | --- a/tools/Makefile.am | ||
21 | +++ b/tools/Makefile.am | ||
22 | @@ -72,7 +72,7 @@ udisks_tcp_bridge_LDADD = $(DBUS_GLIB_LIBS) | ||
23 | |||
24 | CLEANFILES = $(BUILT_SOURCES) | ||
25 | |||
26 | -profiledir = $(sysconfdir)/profile.d | ||
27 | +profiledir = $(sysconfdir)/bash_completion.d | ||
28 | profile_SCRIPTS = udisks-bash-completion.sh | ||
29 | |||
30 | EXTRA_DIST = $(profile_SCRIPTS) | ||
31 | -- | ||
32 | 2.21.0 | ||
33 | |||
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 3ae8ecc15..0373749f0 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} \ | |||
17 | file://udisks-1.0.5-fix-service-file.patch \ | 17 | file://udisks-1.0.5-fix-service-file.patch \ |
18 | file://0001-Make-udev-rules-directory-configurable.patch \ | 18 | file://0001-Make-udev-rules-directory-configurable.patch \ |
19 | file://0001-include-sys-sysmacros.h.patch \ | 19 | file://0001-include-sys-sysmacros.h.patch \ |
20 | file://0001-tools-Install-bash_completion-script-in-etc-bash_com.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd" | 23 | SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd" |
23 | SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71" | 24 | SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71" |
24 | 25 | ||
25 | inherit autotools-brokensep systemd gtk-doc distro_features_check | 26 | inherit autotools-brokensep systemd gtk-doc distro_features_check bash-completion |
26 | 27 | ||
27 | REQUIRED_DISTRO_FEATURES = "polkit" | 28 | REQUIRED_DISTRO_FEATURES = "polkit" |
28 | 29 | ||