Debian: Fix ostree remote for patching on workers
The sw_version was uninitialized for workers. This led to a 404 error when doing ostree pull during a patch installation on worker nodes. The problem was introduced by https://review.opendev.org/c/starlingx/metal/+/864930 Test Plan: Build / Install /Deploy Duplex env with a worker Successfully apply a patch on the worker Closes-Bug: 1997130 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: If40466b0ac9ffe0ce1ae068e948682eafa3703e5
This commit is contained in:
parent
d614eda8fc
commit
d4aaeb5836
@ -2768,8 +2768,8 @@ get_variable "ostree_repo_fetched"
|
||||
OSTREE_REPO_FETCHED=$?
|
||||
|
||||
# Fetch ostree
|
||||
sw_release="xxxPLATFORM_RELEASExxx" # updated by the build
|
||||
if [ "${controller}" = true ] ; then
|
||||
sw_release="xxxPLATFORM_RELEASExxx" # updated by the build
|
||||
|
||||
# -1 is all commits, positive number is that number of last commits
|
||||
commits="--depth=-1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user