[ovs-dev] [PATCH] bashcomp: Install and package completion scripts.
Alex Wang
alexw at nicira.com
Thu Mar 12 22:34:48 UTC 2015
This commit adds the bash completion scripts to scripts_SCRIPTS target
and makes sure they are packaged correctly. Note, the scripts will only
be placed at the directory for scripts so that users can get them if needed.
Signed-off-by: Alex Wang <alexw at nicira.com>
---
debian/openvswitch-switch.install | 2 ++
rhel/openvswitch.spec.in | 2 ++
utilities/automake.mk | 4 +++-
xenserver/openvswitch-xen.spec.in | 2 ++
4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/openvswitch-switch.install b/debian/openvswitch-switch.install
index c4f1426..71fe8d9 100644
--- a/debian/openvswitch-switch.install
+++ b/debian/openvswitch-switch.install
@@ -11,5 +11,7 @@ usr/share/openvswitch/scripts/ovs-check-dead-ifs
usr/share/openvswitch/scripts/ovs-ctl
usr/share/openvswitch/scripts/ovs-lib
usr/share/openvswitch/scripts/ovs-save
+usr/share/openvswitch/scripts/ovs-appctl-bashcomp.bash
+usr/share/openvswitch/scripts/ovs-vsctl-bashcomp.bash
usr/share/openvswitch/vswitch.ovsschema
debian/ifupdown.sh usr/share/openvswitch/scripts
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 56603cc..f52a1a5 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -173,6 +173,8 @@ exit 0
/usr/share/openvswitch/scripts/ovs-lib
/usr/share/openvswitch/scripts/ovs-save
/usr/share/openvswitch/scripts/ovs-vtep
+/usr/share/openvswitch/scripts/ovs-appctl-bashcomp.bash
+/usr/share/openvswitch/scripts/ovs-vsctl-bashcomp.bash
/usr/share/openvswitch/scripts/sysconfig.template
/usr/share/openvswitch/vswitch.ovsschema
/usr/share/openvswitch/vtep.ovsschema
diff --git a/utilities/automake.mk b/utilities/automake.mk
index 55bf449..104cccd 100644
--- a/utilities/automake.mk
+++ b/utilities/automake.mk
@@ -19,7 +19,9 @@ endif
scripts_SCRIPTS += \
utilities/ovs-check-dead-ifs \
utilities/ovs-ctl \
- utilities/ovs-save
+ utilities/ovs-save \
+ utilities/ovs-appctl-bashcomp.bash \
+ utilities/ovs-vsctl-bashcomp.bash
scripts_DATA += utilities/ovs-lib
check_SCRIPTS += \
diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in
index 3bae86a..73921d2 100644
--- a/xenserver/openvswitch-xen.spec.in
+++ b/xenserver/openvswitch-xen.spec.in
@@ -451,6 +451,8 @@ exit 0
/usr/share/openvswitch/scripts/ovs-ctl
/usr/share/openvswitch/scripts/ovs-lib
/usr/share/openvswitch/scripts/ovs-vtep
+/usr/share/openvswitch/scripts/ovs-appctl-bashcomp.bash
+/usr/share/openvswitch/scripts/ovs-vsctl-bashcomp.bash
/usr/share/openvswitch/vswitch.ovsschema
/usr/share/openvswitch/vtep.ovsschema
/usr/sbin/ovs-bugtool
--
1.7.9.5
More information about the dev
mailing list