Skip to contentSkip to conversation

populate_sdk_base: Add perl modules as needing to be relocated

PATCH New Mark Hatle 1 participant 1 message Dec 14, 2012

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 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.

---
 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/populate_sdk_base.bbclass +1 -1
index de42ef7..b3dfebb 100644
@@ -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
Signature · 1 line
1.7.3.4