table of contents
dir2module(1) | General Commands Manual | dir2module(1) |
NAME¶
dir2module
SYNOPSIS¶
dir2module [-h] -m SUMMARY [-d DESCRIPTION] [-l LICENSE] [-r REQUIRES] [--force] [--stdout] (--dir DIR | --pkglist PKGLIST) nsvca
DESCRIPTION¶
Recursively read RPMs from DIR or read them from specified pkglist.If any RPM is missing on unreadable, error out.Populate artifacts/rpms with RPM NEVRAs.Populate license/content with list of RPM licenses.Write N:S:V:C:A.modulemd.yaml in the current directory.Make sure the yaml is in modulemd v2 format.
OPTIONS¶
- nsvca
- Module name, stream version, context and architecture in a N:S:V:C:A format
- -m SUMMARY, --summary SUMMARY
- Module summary
- -d DESCRIPTION, --description DESCRIPTION
- Module description
- -l LICENSE, --license LICENSE
- Module license
- -r REQUIRES, --requires REQUIRES
- Module runtime dependencies in a N:S format. For multiple dependencies, repeat this option
- --force
- Suppress all constraints and hope for the best
- --stdout
- By defult the output is saved in a file. Use this to suppress it and print to the STDOUT
- --dir DIR
- --pkglist PKGLIST
AUTHORS¶
dir2module was written by Jakub Kadlčík <jkadlcik@redhat.com>.
DISTRIBUTION¶
The latest version of dir2module may be downloaded from HOMEPAGE
Manual |