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"
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"
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"