File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,9 @@ main() {
397
397
fi
398
398
399
399
outdir=$( mktemp -p " ${tmp_builddir} " -d)
400
+ # To get a shell in the osbuild supervin VM uncomment this.
401
+ # osbuild can be started with `bash tmp/build.<artifact>/cmd.sh`
402
+ # RUNVM_SHELL=1 \
400
403
runvm_with_cache -- /usr/lib/coreos-assembler/runvm-osbuild \
401
404
--config " ${runvm_osbuild_config_json} " \
402
405
--mpp " /usr/lib/coreos-assembler/osbuild-manifests/coreos.osbuild.${basearch} .mpp.yaml" \
Original file line number Diff line number Diff line change @@ -274,11 +274,13 @@ pipelines:
274
274
name : coreos.ociarchive
275
275
options :
276
276
kernel-args :
277
- - rw
278
277
- ' $ignition_firstboot'
279
278
- mpp-format-string : ' {extra_kargs}'
280
279
target-imgref :
281
280
mpp-format-string : ' {container_imgref}'
281
+ stateroot : fedora-coreos
282
+ boot-mount-spec : " "
283
+ root-mount-spec : " "
282
284
devices :
283
285
disk :
284
286
type : org.osbuild.loopback
Original file line number Diff line number Diff line change @@ -114,11 +114,16 @@ set -x; osbuild-mpp \
114
114
" ${mppyaml} " " ${processed_json} "
115
115
set +x
116
116
117
- log_disk_usage
117
+ # log_disk_usage
118
118
119
119
# Build the image
120
120
set -x
121
121
# shellcheck disable=SC2068
122
+ # To stop osbuild at a given stage to inspect the state of
123
+ # things you can add `--break stage_id` to the following.
124
+ # eg : `--break org.osbuild.bootc.install-to-filesystem`
125
+ # The osbuild environnement is set up under `/run/osbuild`
126
+ # Use it in conjuction with `RUNVM_SHELL=1 in `cmd-osbuild`
122
127
osbuild \
123
128
--out " $outdir " \
124
129
--store " $storedir " \
You can’t perform that action at this time.
0 commit comments