diff options
author | He Zhe <zhe.he@windriver.com> | 2017-06-28 16:52:48 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-06-29 15:27:21 -0400 |
commit | 1e7567ad8eef3a3b1aa3c60f71d7eff507f6aefa (patch) | |
tree | 9910165334e79448e36853130c9e92c473e88eb1 /recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch | |
parent | 487a535eb568ed9e71da20ad73b8c08892660163 (diff) | |
download | meta-cloud-services-pyro.tar.gz |
glusterfs: Move from meta-openstack to meta-cloud-servicespyro
It's not an openstack specific package.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch')
-rw-r--r-- | recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch b/recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch new file mode 100644 index 0000000..d89fde9 --- /dev/null +++ b/recipes-extended/glusterfs/files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 960a101ab795fed1b7505ed9db61769cbdb9450e Mon Sep 17 00:00:00 2001 | ||
2 | From: Sebastian Lenartowicz <Sebastian.Lenartowicz@windriver.com> | ||
3 | Date: Wed, 4 Dec 2013 15:16:02 -0500 | ||
4 | Subject: [PATCH 1/1] Fix for mount.glusterfs not accepting --version argument | ||
5 | |||
6 | The mount.glusterfs shell script serves as a convenient "gatekeeper" | ||
7 | for the glusterfs program itself, and performs a few setup tasks, | ||
8 | depending on the options it's given. However, an overzealous check | ||
9 | for the number of arguments (any number of arguments less than 2) | ||
10 | was preventing the --version and --help arguments from being usable | ||
11 | on their own. This patch solves that by dropping the check (the | ||
12 | glusterfs software itself can throw out commands with too few | ||
13 | arguments, which makes the check redundant in any event). | ||
14 | --- | ||
15 | xlators/mount/fuse/utils/mount.glusterfs.in | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in | ||
19 | index 2a8183c..ea18efb 100755 | ||
20 | --- a/xlators/mount/fuse/utils/mount.glusterfs.in | ||
21 | +++ b/xlators/mount/fuse/utils/mount.glusterfs.in | ||
22 | @@ -395,7 +395,7 @@ main () | ||
23 | pos_args=$((pos_args+1)) | ||
24 | fi | ||
25 | done | ||
26 | - if [ $in_opt = "yes" -o $pos_args -lt 2 ]; then | ||
27 | + if [ $in_opt = "yes" ]; then | ||
28 | usage | ||
29 | exit 1 | ||
30 | fi | ||
31 | -- | ||
32 | 1.7.9.7 | ||
33 | |||