summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 23:20:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 23:30:14 +0000
commitc433e9bc6d1919f0f9615a48a78528cac3aa38b3 (patch)
tree7aa8be7dde62210889f5270355bd76c497358484
parent986f44933ee267b171612d7b0f1c53e9b3b4797e (diff)
downloadpoky-c433e9bc6d1919f0f9615a48a78528cac3aa38b3.tar.gz
gobject-introspection: Fix sysroot postinst scripting error
Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste error when writing this code. As long as the directory existed, the builds worked so it created a race. Fix it as people hit build failures. (From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
index 15c8c00f0a..509fc5fa59 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
@@ -171,7 +171,7 @@ gi_ldsoconf_sysroot_preprocess () {
171 mkdir -p ${SYSROOT_DESTDIR}${bindir} 171 mkdir -p ${SYSROOT_DESTDIR}${bindir}
172 dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN} 172 dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN}
173 echo "#!/bin/sh" > $dest 173 echo "#!/bin/sh" > $dest
174 echo "echo mkdir -p ${STAGING_DIR_TARGET}${sysconfdir} > ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest 174 echo "mkdir -p ${STAGING_DIR_TARGET}${sysconfdir}" >> $dest
175 echo "echo ${base_libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest 175 echo "echo ${base_libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
176 echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest 176 echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
177 chmod 755 $dest 177 chmod 755 $dest