[oe-commits] Mark Hatle : populate_sdk_base: Add perl modules as needing to be relocated

git at git.openembedded.org git at git.openembedded.org
Fri Dec 14 17:31:07 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: ad79360c1d992830d4f0e06a3bbf0622658c0540
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ad79360c1d992830d4f0e06a3bbf0622658c0540

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Fri Dec 14 11:38:47 2012 -0600

populate_sdk_base: Add perl modules as needing to be relocated

The perl module for automake has an embedded path in it, this needs
to be relocated.

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 473b126..c1756e8 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -236,7 +236,7 @@ if [ $? -ne 0 ]; then
 fi
 
 # replace ${SDKPATH} with the new prefix in all text files: configs/scripts/etc
-$SUDO_EXEC find $native_sysroot -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\).*text"|cut -d':' -f1|$SUDO_EXEC xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"
+$SUDO_EXEC find $native_sysroot -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\|source\).*text"|cut -d':' -f1|$SUDO_EXEC xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"
 
 # change all symlinks pointing to ${SDKPATH}
 for l in $($SUDO_EXEC find $native_sysroot -type l); do





More information about the Openembedded-commits mailing list