From eed8f33a281fdef93f5cd27b59fd38d5eeb45b8c Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Thu, 9 Dec 2021 15:30:36 +0100 Subject: [PATCH] Install pip package in dib based images Switch to system installed pip instead of using it from source. This should fix the current debian bullseye build due to DIB trying to install both python2 and python3 versions of pip when installing from source, and also avoid unwanted incompatibilities in the future. Story: 2009756 Task: 44225 Change-Id: Idff77d96313ddbb0c2dac26666824cbf5186c805 --- playbooks/roles/bifrost-create-dib-image/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/bifrost-create-dib-image/defaults/main.yml b/playbooks/roles/bifrost-create-dib-image/defaults/main.yml index 944ad4f73..fa328341a 100644 --- a/playbooks/roles/bifrost-create-dib-image/defaults/main.yml +++ b/playbooks/roles/bifrost-create-dib-image/defaults/main.yml @@ -5,6 +5,7 @@ dib_env_vars: http_proxy: "{{ lookup('env','http_proxy') }}" https_proxy: "{{ lookup('env','https_proxy') }}" DIB_INSTALLTYPE_simple_init: repo + DIB_INSTALLTYPE_pip_and_virtualenv: package LANG: C LC_ALL: C LC_MESSAGES: C