createrepo: add page (#7789)

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
feature/windows-fix-syntax-2
Jeremy Heckt 2022-02-18 23:16:13 -08:00 committed by GitHub
parent adf4448df8
commit b645de29cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/linux/createrepo.md Normal file
View File

@ -0,0 +1,16 @@
# createrepo
> Initializes an RPM repository in the given 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:
`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}}`