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() {
397397 fi
398398
399399 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 \
400403 runvm_with_cache -- /usr/lib/coreos-assembler/runvm-osbuild \
401404 --config " ${runvm_osbuild_config_json} " \
402405 --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:
274274 name : coreos.ociarchive
275275 options :
276276 kernel-args :
277- - rw
278277 - ' $ignition_firstboot'
279278 - mpp-format-string : ' {extra_kargs}'
280279 target-imgref :
281280 mpp-format-string : ' {container_imgref}'
281+ stateroot : fedora-coreos
282+ boot-mount-spec : " "
283+ root-mount-spec : " "
282284 devices :
283285 disk :
284286 type : org.osbuild.loopback
Original file line number Diff line number Diff line change @@ -114,11 +114,16 @@ set -x; osbuild-mpp \
114114 " ${mppyaml} " " ${processed_json} "
115115set +x
116116
117- log_disk_usage
117+ # log_disk_usage
118118
119119# Build the image
120120set -x
121121# 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`
122127osbuild \
123128 --out " $outdir " \
124129 --store " $storedir " \
You can’t perform that action at this time.
0 commit comments