File tree 4 files changed +84
-0
lines changed
4 files changed +84
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ pipelines:
111
111
paths :
112
112
- path : /boot/efi
113
113
mode : 448
114
+ # platforms.json will live here
115
+ - type : org.osbuild.mkdir
116
+ options :
117
+ paths :
118
+ - path : /boot/coreos
119
+ mode : 644
114
120
- type : org.osbuild.ignition
115
121
# Deploy via container if we have a container ociarchive, else from repo.
116
122
- mpp-if : ociarchive != ''
@@ -168,6 +174,21 @@ pipelines:
168
174
ref : ostree/1/1/0
169
175
osname :
170
176
mpp-format-string : ' {osname}'
177
+ # Copy in the platforms.json that was baked into the OSTree into /boot
178
+ # so tools like coreos-installer can use the information.
179
+ - type : org.osbuild.copy
180
+ options :
181
+ paths :
182
+ - from : tree:///usr/share/coreos-assembler/platforms.json
183
+ to : tree:///boot/coreos/platforms.json
184
+ mounts :
185
+ - name : ostree.deployment
186
+ type : org.osbuild.ostree.deployment
187
+ options :
188
+ deployment :
189
+ ref : ostree/1/1/0
190
+ osname :
191
+ mpp-format-string : ' {osname}'
171
192
- name : raw-image
172
193
stages :
173
194
- type : org.osbuild.truncate
Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ pipelines:
108
108
bootloader : none
109
109
# https://github.com/coreos/fedora-coreos-tracker/issues/1333
110
110
bls-append-except-default : grub_users=""
111
+ # platforms.json will live here
112
+ - type : org.osbuild.mkdir
113
+ options :
114
+ paths :
115
+ - path : /boot/coreos
116
+ mode : 644
111
117
- type : org.osbuild.ignition
112
118
# Deploy via container if we have a container ociarchive, else from repo.
113
119
- mpp-if : ociarchive != ''
@@ -178,6 +184,21 @@ pipelines:
178
184
ref : ostree/1/1/0
179
185
osname :
180
186
mpp-format-string : ' {osname}'
187
+ # Copy in the platforms.json that was baked into the OSTree into /boot
188
+ # so tools like coreos-installer can use the information.
189
+ - type : org.osbuild.copy
190
+ options :
191
+ paths :
192
+ - from : tree:///usr/share/coreos-assembler/platforms.json
193
+ to : tree:///boot/coreos/platforms.json
194
+ mounts :
195
+ - name : ostree.deployment
196
+ type : org.osbuild.ostree.deployment
197
+ options :
198
+ deployment :
199
+ ref : ostree/1/1/0
200
+ osname :
201
+ mpp-format-string : ' {osname}'
181
202
- name : raw-image
182
203
stages :
183
204
- type : org.osbuild.truncate
Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ pipelines:
95
95
bootloader : none
96
96
# # no grub_users="" on s390x
97
97
# bls-append-except-default: grub_users=""
98
+ # platforms.json will live here
99
+ - type : org.osbuild.mkdir
100
+ options :
101
+ paths :
102
+ - path : /boot/coreos
103
+ mode : 644
98
104
- type : org.osbuild.ignition
99
105
# Deploy via container if we have a container ociarchive, else from repo.
100
106
- mpp-if : ociarchive != ''
@@ -176,6 +182,21 @@ pipelines:
176
182
ref : ostree/1/1/0
177
183
osname :
178
184
mpp-format-string : ' {osname}'
185
+ # Copy in the platforms.json that was baked into the OSTree into /boot
186
+ # so tools like coreos-installer can use the information.
187
+ - type : org.osbuild.copy
188
+ options :
189
+ paths :
190
+ - from : tree:///usr/share/coreos-assembler/platforms.json
191
+ to : tree:///boot/coreos/platforms.json
192
+ mounts :
193
+ - name : ostree.deployment
194
+ type : org.osbuild.ostree.deployment
195
+ options :
196
+ deployment :
197
+ ref : ostree/1/1/0
198
+ osname :
199
+ mpp-format-string : ' {osname}'
179
200
- name : raw-image
180
201
stages :
181
202
- type : org.osbuild.truncate
Original file line number Diff line number Diff line change @@ -113,6 +113,12 @@ pipelines:
113
113
paths :
114
114
- path : /boot/efi
115
115
mode : 448
116
+ # platforms.json will live here
117
+ - type : org.osbuild.mkdir
118
+ options :
119
+ paths :
120
+ - path : /boot/coreos
121
+ mode : 644
116
122
- type : org.osbuild.ignition
117
123
# Deploy via container if we have a container ociarchive, else from repo.
118
124
- mpp-if : ociarchive != ''
@@ -170,6 +176,21 @@ pipelines:
170
176
ref : ostree/1/1/0
171
177
osname :
172
178
mpp-format-string : ' {osname}'
179
+ # Copy in the platforms.json that was baked into the OSTree into /boot
180
+ # so tools like coreos-installer can use the information.
181
+ - type : org.osbuild.copy
182
+ options :
183
+ paths :
184
+ - from : tree:///usr/share/coreos-assembler/platforms.json
185
+ to : tree:///boot/coreos/platforms.json
186
+ mounts :
187
+ - name : ostree.deployment
188
+ type : org.osbuild.ostree.deployment
189
+ options :
190
+ deployment :
191
+ ref : ostree/1/1/0
192
+ osname :
193
+ mpp-format-string : ' {osname}'
173
194
- name : raw-image
174
195
stages :
175
196
- type : org.osbuild.truncate
You can’t perform that action at this time.
0 commit comments