Honor --root in rpmkeys too
This commit is contained in:
parent
599094e258
commit
b4f4e2255f
|
@ -60,6 +60,8 @@ int main(int argc, char *argv[])
|
||||||
if (mode != MODE_LISTKEY && args == NULL)
|
if (mode != MODE_LISTKEY && args == NULL)
|
||||||
argerror(_("no arguments given"));
|
argerror(_("no arguments given"));
|
||||||
|
|
||||||
|
rpmtsSetRootDir(ts, rpmcliRootDir);
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case MODE_CHECKSIG:
|
case MODE_CHECKSIG:
|
||||||
ec = rpmcliVerifySignatures(ts, args);
|
ec = rpmcliVerifySignatures(ts, args);
|
||||||
|
|
Loading…
Reference in New Issue