File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -429,17 +429,16 @@ EOF
429429 # Store the fully rendered disk image config (image.json)
430430 # and the platform (platforms.json) if it exists inside
431431 # the ostree commit, so it can later be extracted by disk image
432- # builds.
433- local jsondir =" ${tmp_overridesdir} /jsons "
434- mkdir -p " ${jsondir } /usr/share/coreos-assembler/"
435- cp " ${image_json} " " ${jsondir } /usr/share/coreos-assembler/"
432+ # builds. Also the full contents of the live/ directory.
433+ local usr_share_cosa =" ${tmp_overridesdir} /usr-share-cosa "
434+ mkdir -p " ${usr_share_cosa } /usr/share/coreos-assembler/"
435+ cp " ${image_json} " " ${usr_share_cosa } /usr/share/coreos-assembler/"
436436 if [ -f " ${platforms_json} " ]; then
437- cp " ${platforms_json} " " ${jsondir } /usr/share/coreos-assembler/"
437+ cp " ${platforms_json} " " ${usr_share_cosa } /usr/share/coreos-assembler/"
438438 fi
439- # also the full contents of the live/ directory
440- cp -r " ${configdir} /live" " ${jsondir} /usr/share/coreos-assembler/live"
441- commit_overlay cosa-json " ${jsondir} "
442- layers=" ${layers} overlay/cosa-json"
439+ cp -r " ${configdir} /live" " ${usr_share_cosa} /usr/share/coreos-assembler/live"
440+ commit_overlay usr-share-cosa " ${usr_share_cosa} "
441+ layers=" ${layers} overlay/usr-share-cosa"
443442
444443 local_overrides_lockfile=" ${tmp_overridesdir} /local-overrides.json"
445444 if [ -n " ${with_cosa_overrides} " ] && [[ -n $( ls " ${overridesdir} /rpm/" * .rpm 2> /dev/null) ]]; then
You can’t perform that action at this time.
0 commit comments