diff options
author | 2025-03-25 16:30:34 +0100 | |
---|---|---|
committer | 2025-03-25 16:30:34 +0100 | |
commit | f6527bbbab8a942f0c8ce5006711a1f46a83deae (patch) | |
tree | e510a5a2baa667c2b8bac0f004c1c593dbb9514d | |
parent | d126017395a405719e4d28f42fa6f8992e1b1413 (diff) |
Reorder upgrade
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I127e5b47add3e6feba866f25a9e0e20b6bb6518b
-rw-r--r-- | packer/provision/agl_dependencies.sh | 16 | ||||
-rw-r--r-- | packer/templates/basebuild-agl-test-slave.json | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index 6a152fdd..9ba48499 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -29,6 +29,13 @@ DEBIAN_FRONTEND=noninteractive apt-get --purge remove plymouth-theme* plymouth DEBIAN_FRONTEND=noninteractive apt-get autoremove DEBIAN_FRONTEND=noninteractive apt-get apt-get -y -u dist-upgrade DEBIAN_FRONTEND=noninteractive dpkg --configure -a +DEBIAN_FRONTEND=noninteractive apt-get update + +# let the upgrade run anyway +rm -rf /var/run/reboot-requir* + +DEBIAN_FRONTEND=noninteractive do-release-upgrade -f DistUpgradeViewNonInteractive --mode=server + DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get -y install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat \ @@ -50,9 +57,9 @@ DEBIAN_FRONTEND=noninteractive apt-get clean DEBIAN_FRONTEND=noninteractive apt full-upgrade -sudo pip3 install --upgrade pip -sudo pip3 install --upgrade --force-reinstall --ignore-installed pyyaml -sudo pip3 install --upgrade --ignore-installed --force-reinstall lavacli==1.0 +#sudo pip3 install --upgrade pip +#sudo pip3 install --upgrade --force-reinstall --ignore-installed pyyaml +#sudo pip3 install --upgrade --ignore-installed --force-reinstall lavacli==1.0 # we have a build blocker wrt useradd - I assume it is caused by /bin/sh being dash # systemd: Performing useradd with @@ -75,10 +82,7 @@ EOFHOSTS # install newer version of jjb ... fixes issues with rendering sudo pip install --upgrade --force-reinstall -v jenkins-job-builder -# let the upgrade run anyway -rm -rf /var/run/reboot-requir* -DEBIAN_FRONTEND=noninteractive do-release-upgrade -f DistUpgradeViewNonInteractive --mode=server cat <<EOFSYSCTL >> /etc/sysctl.conf diff --git a/packer/templates/basebuild-agl-test-slave.json b/packer/templates/basebuild-agl-test-slave.json index 930d0d5c..d37e5d27 100644 --- a/packer/templates/basebuild-agl-test-slave.json +++ b/packer/templates/basebuild-agl-test-slave.json @@ -13,7 +13,7 @@ "builders": [ { "name": "vexxhost", - "image_name": "{{user `distro`}} - basebuild-agl-test-slave - {{isotime \"20060102-1504\"}}", + "image_name": "basebuild-agl-test-slave - {{isotime \"20060102-1504\"}}", "source_image_name": "{{user `base_image`}}", "type": "openstack", "identity_endpoint": "https://auth.vexxhost.net/v3/", |