commit | 7dc2acb7f6dae735a1711d482bb2710b60d63564 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Feb 26 11:25:27 2018 +1030 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Mar 01 14:09:32 2018 +0000 |
tree | 1f68a9ed05c6d1606c7f82efc9a9b108ddc8d247 | |
parent | f256d83d0c7bda29f15d25adde45c358ce97a181 [diff] [blame] |
obmc-pydevtools: Install obmcutil completion file Change-Id: Ia742c09c7963a6f75ac3f8f31ee2b7888d8b18cf Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb b/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb index 296a399..70fad63 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 @@ " 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 +}