[Rpm-maint] [rpm-software-management/rpm] Check inside --root when querying for files (PR #2582)

Florian Festi notifications at github.com
Tue Jul 25 10:39:38 UTC 2023


rpm -qf checks if the argument actually exists if it can't be found in the rpmdb and gives different messages based on that.

This was done without taking the root dir into account leading to wrong messages if the file only exists in the root dir but not outside.

Resolves: #2576
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2582

-- Commit Summary --

  * Check inside --root when querying for files

-- File Changes --

    M lib/query.c (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2582.patch
https://github.com/rpm-software-management/rpm/pull/2582.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2582
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2582 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230725/233bdafd/attachment.html>


More information about the Rpm-maint mailing list