diff --git a/script/config/docker_image/images.sh b/script/config/docker_image/images.sh index bd54859b87546858373238ec8b2aaee416db0ff7..72dc153ca5a49929aa25dc3b66250508973fc0f6 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