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 <carmen.rata@windriver.com>
This commit is contained in:
parent
05f4bcc83d
commit
cf8fc1bfff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user