summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2023-10-17 09:46:21 +0900
committerDongkyun Son <dongkyun.s@samsung.com>2023-10-19 15:59:39 +0900
commit8f765bbe37fd50faf3c72ddc440ec5d7f550c05a (patch)
treeb46b3efda07b52df3cb98f40cff633d4b0d8e429
parent37be7e168ee15b0e2f4ebcb047df026868e613c0 (diff)
downloadrootstrap-data-common-8f765bbe37fd50faf3c72ddc440ec5d7f550c05a.tar.gz
rootstrap-data-common-8f765bbe37fd50faf3c72ddc440ec5d7f550c05a.tar.bz2
rootstrap-data-common-8f765bbe37fd50faf3c72ddc440ec5d7f550c05a.zip
convert script: fix architecture conversion error
- setup : noarch - linux-glibc-devel : armv7l | i686 | aarch64 | x86_64 Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rwxr-xr-xscript/convert32.sh2
-rwxr-xr-xscript/convert64.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/convert32.sh b/script/convert32.sh
index 6793dc5..6034dbd 100755
--- a/script/convert32.sh
+++ b/script/convert32.sh
@@ -2,7 +2,7 @@
# xml Converter
git checkout ./rs_resource ./rs_resource_invisible
-find ./ \( -name "*-rs.xml" ! -iname "kernel-headers-linux-rs.xml" \) \
+find ./ \( -name "*-rs.xml" ! -iname "setup-rs.xml" \) \
-exec xmlstarlet ed -L -u //rootstrap/emulator/rpm/@arch -v "i686" {} \; \
-exec xmlstarlet ed -L -u //rootstrap/target/rpm/@arch -v "armv7l" {} \; \
-exec xmlstarlet ed -L -u //rootstrap/library_path -v "/usr/lib" {} \; \
diff --git a/script/convert64.sh b/script/convert64.sh
index 53f497d..5c2e512 100755
--- a/script/convert64.sh
+++ b/script/convert64.sh
@@ -2,7 +2,7 @@
# xml Converter
git checkout ./rs_resource ./rs_resource_invisible
-find ./ \( -name "*-rs.xml" ! -iname "kernel-headers-linux-rs.xml" \) \
+find ./ \( -name "*-rs.xml" ! -iname "setup-rs.xml" \) \
-exec xmlstarlet ed -L -u //rootstrap/emulator/rpm/@arch -v "x86_64" {} \; \
-exec xmlstarlet ed -L -u //rootstrap/target/rpm/@arch -v "aarch64" {} \; \
-exec xmlstarlet ed -L -u //rootstrap/library_path -v "/usr/lib64" {} \; \