Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
problem data: add function getting parsed osinfo
The function loads os_info from chrooted directory if problem data contains chrootdir item, otherwise loads the standard os_info. If os_info item is not pressent, the function adds PRETTY_NAME key with content of os_release item to the result map. Related to #147 Signed-off-by: Jakub Filak <jfilak@redhat.com> Signed-off-by: Martin Milata <mmilata@redhat.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters