summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangYoun Kwak <sy.kwak@samsung.com>2024-05-17 16:38:45 +0900
committerSangYoun Kwak <sy.kwak@samsung.com>2024-05-17 16:40:34 +0900
commit099d75777cb785c80b1457f301964e6b5942cff1 (patch)
treee295bd0e6d05ed40368890d05d56f299b23adb77
parentde692fbda1a92ebdb42751b1cd36e14ca462bfd1 (diff)
downloadrootstrap-099d75777cb785c80b1457f301964e6b5942cff1.tar.gz
rootstrap-099d75777cb785c80b1457f301964e6b5942cff1.tar.bz2
rootstrap-099d75777cb785c80b1457f301964e6b5942cff1.zip
Modify convert32.sh for 64-to-32-bit convertion of xml files
Change-Id: Ibe67dbcc80b9de27a22a58ac24efe96700584f3e Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
-rwxr-xr-xscript/convert32.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/convert32.sh b/script/convert32.sh
index 644e2ab..cebb9d1 100755
--- a/script/convert32.sh
+++ b/script/convert32.sh
@@ -6,6 +6,7 @@ find ./ \( -name "*-rs.xml" ! -iname "setup-rs.xml" \) \
-exec xmlstarlet ed -L -u //rootstrap/target/rpm/@arch -v "armv7l" {} \; \
-exec xmlstarlet ed -L -u //rootstrap/library_path -v "/usr/lib" {} \; \
-exec sed -i "s@<file>/usr/lib64/@<file>/usr/lib/@" {} \; \
+-exec sed -i "s@<file>/usr/share/gdb/auto-load/usr/lib64/@<file>/usr/share/gdb/auto-load/usr/lib/@" {} \; \
-exec sed -i "s@<file>/lib64/@<file>/lib32/@" {} \; \
-exec sed -i "s@<include_path>/usr/lib64/@<include_path>/usr/lib32/@" {} \;