populate_sdk_base: Add perl modules as needing to be relocated

Submitted by Mark Hatle on Dec. 14, 2012, 5:38 p.m. | Patch ID: 41035


Message ID 1355506727-7568-1-git-send-email-mark.hatle@windriver.com
State Accepted
Commit 5ce8c7fe9ebb8dca0a0b091bda9c58141da26216
Headers show

Commit Message

Mark Hatle Dec. 14, 2012, 5:38 p.m.
The perl module for automake has an embedded path in it, this needs
to be relocated.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index de42ef7..b3dfebb 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -236,7 +236,7 @@  if [ $? -ne 0 ]; then
 # 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