Skip to content

Commit

Permalink
Make --noplugins work with "rpm --verify"
Browse files Browse the repository at this point in the history
This caused problems in rpm test suite.
  • Loading branch information
Lubos Kardos committed Mar 7, 2016
1 parent cb88bad commit 00ebe2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpmqv.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ int main(int argc, char *argv[])
verifyFlags &= ~qva->qva_flags;
qva->qva_flags = (rpmQueryFlags) verifyFlags;

rpmtsSetFlags(ts, rpmtsFlags(ts) | (ia->transFlags & RPMTRANS_FLAG_NOPLUGINS));

if (!poptPeekArg(optCon) && !(qva->qva_source == RPMQV_ALL))
argerror(_("no arguments given for verify"));
ec = rpmcliVerify(ts, qva, (ARGV_const_t) poptGetArgs(optCon));
Expand Down

0 comments on commit 00ebe2e

Please sign in to comment.