2022-02-18 23:16:13 -08:00
|
|
|
# createrepo
|
|
|
|
|
2024-02-14 17:25:13 -03:00
|
|
|
> Initializes an RPM repository in a directory, including all XML and SQLite files.
|
2022-02-18 23:16:13 -08: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:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`createrepo {{[-v|--verbose]}} {{[-x|--excludes]}} {{test_*.rpm}} {{path/to/directory}}`
|
2022-02-18 23:16:13 -08:00
|
|
|
|
|
|
|
- Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`createrepo {{[-S|--skip-symlinks]}} {{[-s|--checksum]}} {{sha1}} {{path/to/directory}}`
|