diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-02 00:21:40 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-02 18:03:05 +0300 |
commit | 48ac60b4d039ed1bf31656ea551f3fc0f1a202bd (patch) | |
tree | be5d93afcdb5983fae1400adcecac5f842f32de7 /meta-phosphor/common/recipes-phosphor | |
parent | b70005d476ffa20e278739bde0bc31d180b1e3e8 (diff) | |
download | openbmc-48ac60b4d039ed1bf31656ea551f3fc0f1a202bd.tar.xz |
Address build break on RHEL
In older versions of coreutils install with -D and -t together has
different behavior such that the destination directory is not created.
Later versions of coreutils this does work but manually install the
target directory so builds on RHEL7 can work.
Change-Id: I42c46198321e4bf8085898b6d7485a3425634aca
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb b/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb index 70fad6313..b8911aa53 100644 --- a/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb +++ b/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb @@ -19,6 +19,7 @@ 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 + install -d ${D}${sysconfdir}/profile.d + install -m 0644 -D -t ${D}${sysconfdir}/profile.d ${S}/obmcutil-completion.sh fi } |