diff --git a/integration/scripts/files/elements/guest-agent/element-deps b/integration/scripts/files/elements/guest-agent/element-deps index ef30983797..e894408ece 100644 --- a/integration/scripts/files/elements/guest-agent/element-deps +++ b/integration/scripts/files/elements/guest-agent/element-deps @@ -3,5 +3,4 @@ package-installs pkg-map source-repositories svc-map -pip-and-virtualenv ubuntu-docker diff --git a/integration/scripts/files/elements/guest-agent/install.d/guest-agent-source-install/31-guest-agent-install b/integration/scripts/files/elements/guest-agent/install.d/guest-agent-source-install/31-guest-agent-install index 1eb66ffd1f..0cd630594b 100755 --- a/integration/scripts/files/elements/guest-agent/install.d/guest-agent-source-install/31-guest-agent-install +++ b/integration/scripts/files/elements/guest-agent/install.d/guest-agent-source-install/31-guest-agent-install @@ -19,7 +19,7 @@ done install -D -g root -o ${GUEST_USERNAME} -m 0644 ${SCRIPTDIR}/guest-agent.logrotate /etc/logrotate.d/guest-agent # Create a virtual environment (with dependencies installed) for guest agent service -${DIB_PYTHON} -m virtualenv ${GUEST_VENV} +/usr/bin/python3 -m venv ${GUEST_VENV} ${GUEST_VENV}/bin/pip install pip --upgrade ${GUEST_VENV}/bin/pip install -U -c /opt/upper-constraints.txt /opt/guest-agent chown -R ${GUEST_USERNAME}:root ${GUEST_VENV} diff --git a/integration/scripts/files/elements/guest-agent/package-installs.yaml b/integration/scripts/files/elements/guest-agent/package-installs.yaml index 37e7daa4b3..f7470c402e 100644 --- a/integration/scripts/files/elements/guest-agent/package-installs.yaml +++ b/integration/scripts/files/elements/guest-agent/package-installs.yaml @@ -1,10 +1,6 @@ guest-agent: installtype: package build-essential: -python3-all: -python3-all-dev: -python3-pip: -python3-sqlalchemy: libxml2-dev: libxslt1-dev: libffi-dev: @@ -12,4 +8,11 @@ libssl-dev: libyaml-dev: openssh-client: openssh-server: +pollinate: +psmisc: +python3-dev: +python3-pip: +python3-setuptools: +python3-sqlalchemy: +python3-venv: rsync: diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu index 12ff4f20db..63ed2f06c7 100644 --- a/integration/scripts/functions_qemu +++ b/integration/scripts/functions_qemu @@ -56,7 +56,6 @@ function build_guest_image() { pushd $TEMP > /dev/null elementes="$elementes ${guest_os}" - elementes="$elementes pip-and-virtualenv" elementes="$elementes pip-cache" elementes="$elementes guest-agent" elementes="$elementes ${guest_os}-docker"