Skip to content

Commit

Permalink
Support to set the dbpath in rpmdb2solv
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Nov 18, 2020
1 parent 04d4d03 commit f74c5b7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/gen/libsolv-bindings.3
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: Libsolv-Bindings
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 01/21/2020
.\" Date: 11/18/2020
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
.TH "LIBSOLV\-BINDINGS" "3" "01/21/2020" "libsolv" "LIBSOLV"
.TH "LIBSOLV\-BINDINGS" "3" "11/18/2020" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions doc/gen/libsolv-pool.3
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: Libsolv-Pool
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 01/21/2020
.\" Date: 11/18/2020
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
.TH "LIBSOLV\-POOL" "3" "01/21/2020" "libsolv" "LIBSOLV"
.TH "LIBSOLV\-POOL" "3" "11/18/2020" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
16 changes: 14 additions & 2 deletions doc/gen/rpmdb2solv.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: rpmdb2solv
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 09/14/2018
.\" Date: 11/18/2020
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
.TH "RPMDB2SOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
.TH "RPMDB2SOLV" "1" "11/18/2020" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -55,6 +55,13 @@ Use
as root directory\&.
.RE
.PP
\fB\-D\fR \fIDBPATH\fR
.RS 4
Use the database in the
\fIDBPATH\fR
directory\&.
.RE
.PP
\fB\-k\fR
.RS 4
Read pubkeys from the rpm database instead of installed packages\&. Note that many distributions stopped storing pubkeys in the database but use a directory like
Expand Down Expand Up @@ -83,6 +90,11 @@ Do not read any packages from the rpm database\&. This is useful together with
to only convert SUSE products\&.
.RE
.PP
\fB\-C\fR
.RS 4
Include the package changelog in the generated solv file\&.
.RE
.PP
\fB\-X\fR
.RS 4
Autoexpand SUSE pattern and product provides into packages\&.
Expand Down
3 changes: 3 additions & 0 deletions doc/rpmdb2solv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ format is like rpm's --percent option.
*-r* 'ROOTDIR'::
Use 'ROOTDIR' as root directory.

*-D* 'DBPATH'::
Use the database in the 'DBPATH' directory.

*-k*::
Read pubkeys from the rpm database instead of installed packages.
Note that many distributions stopped storing pubkeys in the
Expand Down

0 comments on commit f74c5b7

Please sign in to comment.