forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
photon-build-config.txt
169 lines (126 loc) · 5.37 KB
/
photon-build-config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Build config file is a json format with possible parameters:
"photon-build-param" :
"photon-build-type":
Default value: "chroot"
values: ["chroot", "container"]
Example: { "photon-build-param": { "photon-build-type" : "chroot" } }
"photon-dist-tag":
Default value: ".ph3"
values: [".ph3"]
Example: { "photon-build-param": { "photon-dist-tag" : ".ph3" }
"photon-build-no":
Default value: "0000000"
Example: { "photon-build-param": { "photon-build-no" : "1234567" }
"photon-release-version":
Default value: "3.0"
Example: { "photon-build-param": { "photon-release-version" : "3.0" } }
"photon-repo-tool":
Default value: "createrepo"
Example: { "photon-build-param": { "photon-repo-tool" : "createrepo" } }
"threads":
Default value: 1
values: [1,2,3...]
Example: { "photon-build-param": { "threads" : 32 } }
"loglevel":
Default value: "info"
values: ["info", "debug"]
Example: { "photon-build-param": { "loglevel" : "info" } }
"full-package-list-file":
Default value: "build_install_options_all.json"
Example: { "photon-build-param": { "full-package-list-file" : "build_install_options_all.json" } }
"rpm-check-flag":
Default value: false
values: [true, false]
Example: { "photon-build-param": { "rpm-check-flag" : false } }
"rpm-check-stop-on-error":
Default value: false
values: [true, false]
Example: { "photon-build-param": { "rpm-check-stop-on-error" : false } }
"publish-build-dependencies":
Default value: false
values: [true, false]
Example: { "photon-build-param": { "publish-build-dependencies" : false } }
"generate-pkg-list":
Default value: false
values: [true, false]
Example: { "photon-build-param": { "generate-pkg-list" : false } }
"kat-build":
Default value: null
Example: { "photon-build-param": { "kat-build" : null } }
"pkg-build-options":
Default value: "pkg_build_options.json"
Example: { "photon-build-param": { "pkg-build-options" : "pkg_build_options.json" } }
"base-commit":
Default value: null
Example: { "photon-build-param": { "base-commit" : [commit-id] } }
"target-arch":
Default value: null
values: ["aarch64", "x86_64"]
Example: { "photon-build-param": { "target-arch" : "aarch64" } }
"target":
Default value: [Makefile targets]
Example: { "photon-build-param": { "target" : "iso" } }
# zstd level range from 1-22, with increase in level means more compression ratio and more time
"compression-macro":
Default value: "w19.zstdio"
values: ["w[1-22].zstdio", "gzip9"]
Example: { "photon-build-param": { "compression-macro" : "w19.zstdio" } }
"input-rpms-path":
Default: [src-root]/inputRPMS
Example: { "input-rpms-path": [input RPMS path] }
"photon-path":
Default: [takes the config path as cloned repo path]
Example: { "photon-path": [cloned repo path containing SPECS dir] }
"stage-path":
Default: [takes the parent directory of config path as parent for stage directory]
Example: { "stage-path": [path where binaries will be created] }
"spec-path":
Default: [takes the photon path for spec path]
Example: { "spec-path": [path uptil parent directory of SPECS directory] }
"additional-path":
"conf-file":
Default value: null
values: [path of config file for building images like ova, ami, gce, azure]
Example: { "additional-path" : { "conf-file" : [conf-file-path] } }
"pkg-to-be-copied-conf-file":
Default value: null
value: contains location of the file that contains packages to be copied for the image
Example: { "additional-path" : { "pkg-to-be-copied-conf-file" : null } }
"pkg-json-input":
Default value: null
Example: { "additional-path" : { "pkg-json-input" : null } }
"photon-cache-path":
Default value: null
Example: { "additional-path" : { "photon-cache-path" : null } }
"photon-sources-path":
Default value: null
Example: { "additional-path" : { "photon-sources-path" : null } }
"photon-publish-rpms-path":
Default value: null
Example: { "additional-path" : { "photon-publish-rpms-path" : null } }
"photon-publish-x-rpms-path":
Default value: null
Example: { "additional-path" : { "photon-publish-x-rpms-path" : null } }
"pkg-black-list-file":
Default value: null
Example: { "additional-path" : { "pkg-black-list-file" : null } }
"utility":
"pkg":
Default value: null
Example: { "utility" : { "pkg" : null } }
"input-type":
Default value: "json"
values: ["json", "pkg", "remove-upward-deps", "print-upward-deps", "who-needs"]
Example: { "utility" : { "input-type" : "json" } }
"file":
Default value: "packages_*.json"
values: ["packages_*.json", "packages_$(img).json"]
Example: { "utility" : { "file" : "packages_*.json" } }
"display-option":
Default value: "json"
values: ["json", "list", "tree"]
Example: { "utility" : { "display-option" : "json" } }
"img":
Default value: null
values: ["ova", "gce", "ami", "azure"]
Example: { "utility" : { "img" : null } }