From 61a37bff9a35337f5924ca7cc61c76e42e55d787 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Fri, 8 Oct 2021 10:59:09 +0200 Subject: [PATCH] Further fixup for Ubuntu cloud images The official Ubuntu cloud images have some further python pkgs preinstalled that conflict with our requirements. Allow to overwrite them. Signed-off-by: Dr. Jens Harbott Closes-Bug: 1871485 Change-Id: I793c250cae5e7b9bc835b7016d790d1f9ae8a7f3 --- tools/fixup_stuff.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh index 8a2c337fc4..197a12d8f5 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -167,6 +167,8 @@ function fixup_ubuntu { # overwriting works. So this hacks around those packages that # have been dragged in by some other system dependency sudo rm -rf /usr/lib/python3/dist-packages/PyYAML-*.egg-info + sudo rm -rf /usr/lib/python3/dist-packages/pyasn1_modules-*.egg-info + sudo rm -rf /usr/lib/python3/dist-packages/simplejson-*.egg-info } function fixup_all {