diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-02-26 03:55:27 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-01 17:09:32 +0300 |
commit | 7dc2acb7f6dae735a1711d482bb2710b60d63564 (patch) | |
tree | 1f68a9ed05c6d1606c7f82efc9a9b108ddc8d247 /meta-phosphor/common/recipes-phosphor/devtools | |
parent | f256d83d0c7bda29f15d25adde45c358ce97a181 (diff) | |
download | openbmc-7dc2acb7f6dae735a1711d482bb2710b60d63564.tar.xz |
obmc-pydevtools: Install obmcutil completion file
Change-Id: Ia742c09c7963a6f75ac3f8f31ee2b7888d8b18cf
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/devtools')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb b/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb index 296a3992fb..70fad6313f 100644 --- a/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb +++ b/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb @@ -15,3 +15,10 @@ RDEPENDS_${PN} += "\ " SKELETON_DIR = "pytools" + +do_install_append() { + if [ -f ${S}/obmcutil-completion.sh ] + then + install -m 0644 -D -t ${D}/${sysconfdir}/profile.d ${S}/obmcutil-completion.sh + fi +} |