@@ -0,0 +1,29 @@ +#!/bin/bash +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+. ${CCI_SRC}/container/osimage/centos-7/bin/lib
centos-7 is too specific.
Please move code here.
修改成 ${CCI_SRC}/container/osimage/centos/* 这样可以吗?
好的
因为后续还有会debian/openeuler等,他们的创建过程和centos都不太一样, 对不同的系统可能需要不同的代码来创建镜像.
Got it.
Thanks, Fengguang