From cf8fc1bfff206551f5b4ee2728c4fd9689d8831f Mon Sep 17 00:00:00 2001 From: Carmen Rata Date: Fri, 13 Mar 2020 12:14:45 -0400 Subject: [PATCH] Update upgrade-start-pkg-extract to use dnf package This commit replaces the use of "repoquery" in the upgrade-start-pkg-extract utility with "dnf repoquery". Story: 2007403 Task: 39059 Change-Id: I8bc86af11cc7adc85b6d5d30f3a7368581c7988c Signed-off-by: Carmen Rata --- cgcs-patch/bin/upgrade-start-pkg-extract | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgcs-patch/bin/upgrade-start-pkg-extract b/cgcs-patch/bin/upgrade-start-pkg-extract index f5cab7fd..2c5edba6 100644 --- a/cgcs-patch/bin/upgrade-start-pkg-extract +++ b/cgcs-patch/bin/upgrade-start-pkg-extract @@ -82,7 +82,7 @@ function extract_pkg() { cd $WORKDIR # Find the RPM - local pkgfile=$(repoquery --repofrompath base,${TGT_BASE_REPO} ${TGT_PATCHES_REPO_OPT} --location -q ${pkgname}) + local pkgfile=$(dnf repoquery --repofrompath base,${TGT_BASE_REPO} ${TGT_PATCHES_REPO_OPT} --location -q ${pkgname}) if [ -z "${pkgfile}" ]; then logger -t $0 "Could not find ${pkgname}" exit 1