From 4b5c0829ad73e4bfb88f24b1372fefcd838ae522 Mon Sep 17 00:00:00 2001 From: Rafid Bin Mostofa Date: Fri, 13 Dec 2024 19:18:23 +0600 Subject: [PATCH] test(python3-pip): copy /etc/resolv.conf onto the rootfs --- tests/spread/integration/python3-pip/task.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spread/integration/python3-pip/task.yaml b/tests/spread/integration/python3-pip/task.yaml index d84b8a45..e00e24b2 100644 --- a/tests/spread/integration/python3-pip/task.yaml +++ b/tests/spread/integration/python3-pip/task.yaml @@ -3,6 +3,8 @@ summary: Integration tests for python3-pip execute: | rootfs="$(install-slices python3-pip_bins)" + cp /etc/resolv.conf "${rootfs}/etc/" + # Smoke tests. chroot ${rootfs} /usr/bin/pip --version chroot ${rootfs} /usr/bin/pip install --upgrade setuptools