From 48ac60b4d039ed1bf31656ea551f3fc0f1a202bd Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 1 Mar 2018 16:21:40 -0500 Subject: 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 --- meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3