StarlingX Installation/Update/Patching/Backup/Restore
83f5487c27
During upgrade-start we call upgrade-start-pkg-extract to extract the kickstarts and pxeboot data from the N+1 load. This data is used to boot controller-1 in duplex environments. As these packages can be patched we need to select the latest version of the package. Currently the dnf repoquery call returns every version of the rpm queried. This results in the base version being used during the package extraction. This commit updates the command to use --latest-limit=1. The command is also updated to use --disablerepo=*. This will result in the command being restricted to the specified N+1 repos. Without the disablerepo option the N repo packages are included in the results. This brings the call in line with the behavior of utilities/utilities/platform-util/scripts/gen-bootloader-iso.sh Testing: AIO-DX upgrade with patched kickstart package Closes-Bug: 1955410 Change-Id: Ia1cd778791b64133667327031305d0f1914aed2d Signed-off-by: David Sullivan <david.sullivan@windriver.com> |
||
---|---|---|
api-ref/source | ||
cgcs-patch | ||
devstack | ||
doc | ||
enable-dev-patch | ||
extras/scripts | ||
patch-alarm | ||
patch-boot-args | ||
patch-scripts | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_wheels.inc | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
LICENSE | ||
pylint.rc | ||
README.rst | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
stx-update
StarlingX Software Management