diff --git a/script/tools/pkg_rpm_update.sh b/script/tools/pkg_rpm_update.sh index bd6f310d0897eaee387464a4152916b9dd16ea23..818e26559444a08514168458c8699a8118bcd94e 100755 --- a/script/tools/pkg_rpm_update.sh +++ b/script/tools/pkg_rpm_update.sh @@ -275,6 +275,7 @@ function del_pkg_rpm(){ sed -i "/^$pkg$/d" pkglist done scp -i ${update_key} -o StrictHostKeyChecking=no pkglist root@${update_ip}:${update_path}/ + ssh -i ${update_key} -o StrictHostKeyChecking=no root@${update_ip} "cd ${update_path} && createrepo -d aarch64 && createrepo -d x86_64 && createrepo -d source" check_update_rpm ${obs_proj} ${up_dir} ${pkg_place} ${update_key} ${pkglist} "delete" fi }