2022-02-19 07:16:13 +00:00
|
|
|
# createrepo
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Initializes an RPM repository in a directory, including all XML and SQLite files.
|
2022-02-19 07:16:13 +00:00
|
|
|
> More information: <https://manned.org/createrepo>.
|
|
|
|
|
|
|
|
- Initialize a basic repository in a directory:
|
|
|
|
|
|
|
|
`createrepo {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Initialize a repository, exclude test RPMs and display verbose logs:
|
|
|
|
|
|
|
|
`createrepo -v -x {{test_*.rpm}} {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links:
|
|
|
|
|
|
|
|
`createrepo -S -s {{sha1}} {{path/to/directory}}`
|