diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-04-14 17:53:48 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-04-14 18:19:42 +0100 |
commit | d95874db3dc6c415061b86275d03770b4f28ffbb (patch) | |
tree | 07df251ecf41868dea4e897ba26ea55b0a1f251a /inspector | |
parent | a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078 (diff) | |
download | libguestfs-d95874db3dc6c415061b86275d03770b4f28ffbb.tar.gz libguestfs-d95874db3dc6c415061b86275d03770b4f28ffbb.tar.xz libguestfs-d95874db3dc6c415061b86275d03770b4f28ffbb.zip |
inspect: Get version and release of RPM packages.
This commit downloads the Packages RPM database allowing us to find
other details about installed RPM packages (via
inspect-list-applications). This adds version and release. Epoch
cannot yet be found.
This commit also updates the Fedora example image so that it contains
a dummy RPM Packages database with some data.
Diffstat (limited to 'inspector')
-rw-r--r-- | inspector/example-fedora.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inspector/example-fedora.xml b/inspector/example-fedora.xml index 797aa58a..1444bb74 100644 --- a/inspector/example-fedora.xml +++ b/inspector/example-fedora.xml @@ -30,12 +30,18 @@ <applications> <application> <name>test1</name> + <version>1.0</version> + <release>1.fc14</release> </application> <application> <name>test2</name> + <version>2.0</version> + <release>2.fc14</release> </application> <application> <name>test3</name> + <version>3.0</version> + <release>3.fc14</release> </application> </applications> </operatingsystem> |