2025-03-14 21:59:59 -06:00
|
|
|
# createrepo
|
|
|
|
|
|
|
|
|
|
> Initializes an RPM repository in a directory, including all XML and SQLite files.
|
|
|
|
|
> 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-05-08 12:26:01 -06:00
|
|
|
`createrepo {{[-v|--verbose]}} {{[-x|--excludes]}} {{test_*.rpm}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`createrepo {{[-S|--skip-symlinks]}} {{[-s|--checksum]}} {{sha1}} {{path/to/directory}}`
|