When run job-task, appeat warning:
cannot create /etc/pki/ca-trust/source/anchors/docker_registry_proxy.crt: Directory nonexistent
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com --- bin/lkp-setup-rootfs | 1 + 1 file changed, 1 insertion(+)
diff --git a/bin/lkp-setup-rootfs b/bin/lkp-setup-rootfs index d1b17a9c..09930990 100755 --- a/bin/lkp-setup-rootfs +++ b/bin/lkp-setup-rootfs @@ -139,6 +139,7 @@ install_docker_proxy() Environment="HTTPS_PROXY=http://$DOCKER_PROXY_HOST:$DOCKER_PROXY_PORT/" EOF
+ mkdir -p /etc/pki/ca-trust/source/anchors curl http://$DOCKER_PROXY_HOST:$DOCKER_PROXY_PORT/ca.crt > \ /etc/pki/ca-trust/source/anchors/docker_registry_proxy.crt || return update-ca-trust extract