1dir2module(1) General Commands Manual dir2module(1)
2
3
4
6 dir2module
7
9 dir2module [-h] -m SUMMARY [-d DESCRIPTION] [-l LICENSE] [-r REQUIRES]
10 [--force] [--stdout] (--dir DIR | --pkglist PKGLIST) nsvca
11
13 Recursively read RPMs from DIR or read them from specified pkglist.If
14 any RPM is missing on unreadable, error out.Populate artifacts/rpms
15 with RPM NEVRAs.Populate license/content with list of RPM
16 licenses.Write N:S:V:C:A.modulemd.yaml in the current directory.Make
17 sure the yaml is in modulemd v2 format.
18
20 nsvca Module name, stream version, context and architecture in a
21 N:S:V:C:A format
22
23
24 -m SUMMARY, --summary SUMMARY
25 Module summary
26
27
28 -d DESCRIPTION, --description DESCRIPTION
29 Module description
30
31
32 -l LICENSE, --license LICENSE
33 Module license
34
35
36 -r REQUIRES, --requires REQUIRES
37 Module runtime dependencies in a N:S format. For multiple depen‐
38 dencies, repeat this option
39
40
41 --force
42 Suppress all constraints and hope for the best
43
44
45 --stdout
46 By defult the output is saved in a file. Use this to suppress it
47 and print to the STDOUT
48
49
50 --dir DIR
51
52 --pkglist PKGLIST
53
54
56 dir2module was written by Jakub Kadlčík <jkadlcik@redhat.com>.
57
59 The latest version of dir2module may be downloaded from ⟨HOMEPAGE⟩
60
61
62
63 Manual dir2module(1)