set QEMU_GUEST_BASE env for riscv64 arch 17/314917/1 accepted/tizen_base_x accepted/tizen/base/x/20240724.211453 accepted/tizen/base/x/20240813.015219
authorwangbiao <biao716.wang@samsung.com>
Tue, 23 Jul 2024 07:45:52 +0000 (16:45 +0900)
committerwangbiao <biao716.wang@samsung.com>
Tue, 23 Jul 2024 07:46:55 +0000 (16:46 +0900)
Change-Id: I1c962eb987026856d56c5e6f7430fd1e42064995
Signed-off-by: wangbiao <biao716.wang@samsung.com>
packaging/baselibs.conf

index aa1dee3..9f504a9 100644 (file)
@@ -30,7 +30,7 @@ targettype cross package qemu-linux-user
     post "# workaround for using ldd on non-pie executable causes segfault"
     post "# ex) ldd /usr/bin/which"
     post "# ldd: exited with unknown exit code (139)"
-    post "%ifarch aarch64"
+    post "%ifarch aarch64 riscv64"
     post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh"
     post "chmod 755 /etc/profile.d/qemu_base.sh"
     post "%endif"
@@ -58,7 +58,7 @@ targettype x86_64-cross package qemu-linux-user
     post "# workaround for using ldd on non-pie executable causes segfault"
     post "# ex) ldd /usr/bin/which"
     post "# ldd: exited with unknown exit code (139)"
-    post "%ifarch aarch64"
+    post "%ifarch aarch64 riscv64"
     post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh"
     post "chmod 755 /etc/profile.d/qemu_base.sh"
     post "%endif"
@@ -86,7 +86,7 @@ targettype x86-cross package qemu-linux-user
     post "# workaround for using ldd on non-pie executable causes segfault"
     post "# ex) ldd /usr/bin/which"
     post "# ldd: exited with unknown exit code (139)"
-    post "%ifarch aarch64"
+    post "%ifarch aarch64 riscv64"
     post "echo 'export QEMU_GUEST_BASE=0x5500000000' > /etc/profile.d/qemu_base.sh"
     post "chmod 755 /etc/profile.d/qemu_base.sh"
     post "%endif"