From e08ee890712af746a4172a73aedd004108826a07 Mon Sep 17 00:00:00 2001 From: Jvle Date: Wed, 2 Oct 2024 15:51:08 +0800 Subject: [PATCH] fix bug for gcc on riscv64 --- script/config/docker_image/images.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/config/docker_image/images.sh b/script/config/docker_image/images.sh index bd54859..72dc153 100644 --- a/script/config/docker_image/images.sh +++ b/script/config/docker_image/images.sh @@ -65,4 +65,9 @@ rm -f /etc/default/useradd.rpmsave /etc/login.defs.rpmsave # openEuler_chroot will change /etc/hosts in host, we should change it back with hosts.rpmnew # mv /etc/hosts.rpmnew /etc/hosts +# fix bug for dnf +if [ "$ARCH" = 'riscv64' ]; then + cp -a /lib/lib* /lib64 +fi + exit -- Gitee