]> code.ossystems Code Review - openembedded-core.git/commitdiff
boost: fix reproducibilty issues
authorJeremy Puhlman <jpuhlman@mvista.com>
Wed, 11 Mar 2020 22:25:46 +0000 (15:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Mar 2020 22:49:23 +0000 (22:49 +0000)
fix cmake file references of image dir path

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost.inc

index e15dce4e1d3559bb4b46d3e468c2f02586d29c2f..8eb9494381fc370f3bd3d35f9057c373842a1f51 100644 (file)
@@ -202,6 +202,11 @@ do_install() {
                fi
        done
 
+        # Cmake files reference full paths to image
+        find ${D}${libdir}/cmake -type f | \
+             grep 'cmake$' | \
+             xargs -n 1 sed -e 's,${D}${libdir}/cmake,${libdir}/cmake,' -i
+
 }
 
 BBCLASSEXTEND = "native nativesdk"