fault/python-fmclient
Enzo Candotti ca8be6b866 Fix fm command bash dynamic completion
For dynamic bash completion, instead of using the legacy
/etc/bash_completiond.d, the current bash-completion can use a
dynamic mechanism in which the customized completion is called
upon completion activation.
The new location that is already pointed by the .bashrc file,
also engaged by the /etc/bash_completion, is
/usr/share/bash-completion/completions.

However, the bash file was placed under a subfolder with the
name of the command which is not necessary since the file already
contains the command name.
Also, the proper file name shall contain .bash extension.

Closes-Bug: 2001553

Test Plan:
PASS: Build python-fmclient package.
PASS: Build Debian image and install it successfully.
Verify fm.bash is installed under /usr/share/bash-completion/completions
PASS: Verify bash completion is working as expected:

Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: I3b796d26633459b98d7555e48e0bf5ea01c630d3
2023-01-04 19:56:25 +00:00
..
centos Add auto-versioning to starlingx/fault packages 2020-05-27 15:19:34 -04:00
debian Fix fm command bash dynamic completion 2023-01-04 19:56:25 +00:00
fmclient Fix FM error messages for forbidden requests 2022-10-20 20:47:13 -03:00
opensuse Add missing Requires to fault components for opensuse 2019-10-08 18:24:30 -05:00
PKG-INFO Update the License in FM packages 2018-09-05 14:54:00 -04:00