if *.rpm download failure, it will have exception for install *.rpm
you mean need to check it after download.
Thanks, Yinsi
Thanks, Liushaofei
-rpm -i --force lib64lockfile1-1.16-1-omv4002.$(arch).rpm lockfile-progs-0.1.18-5-omv4002.$(arch).rpm -rm -rf *.rpm
- rpm -i --force lib64lockfile1-1.16-1-omv4002.$(arch).rpm lockfile-progs-0.1.18-5-omv4002.$(arch).rpm
- rm -rf *.rpm
+} diff --git a/sparrow/5-build/os-ready b/sparrow/5-build/os-ready index 48a740b..5e1acc4 100755 --- a/sparrow/5-build/os-ready +++ b/sparrow/5-build/os-ready @@ -2,4 +2,6 @@ # SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
-$CCI_SRC/sbin/download-rootfs +. $CCI_SRC/lib/check_public_network.sh
+public_network_ok && $CCI_SRC/sbin/download-rootfs
2.23.0