Skip to content

Commit 230139d

Browse files
committed
cmdlib: bake src config's live/ directory in compose
As part of the work to move the live ISO generation to osbuild and allowing custom live ISOs, we can't have the process rely on the src config repo. *Everything* needs to be part of the oscontainer. The only thing `cmd-buildextend-live` needs from there is the `live/` directory. Do like the platform stuff and shove that under `/usr/share/coreos-assembler`. Note we don't actually change `cmd-buildextend-live` here to copy what it needs from there; that whole command will be gutted and rewritten to just wrap the new osbuild code anyway.
1 parent daa7046 commit 230139d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmdlib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ EOF
436436
if [ -f "${platforms_json}" ]; then
437437
cp "${platforms_json}" "${jsondir}/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"
439441
commit_overlay cosa-json "${jsondir}"
440442
layers="${layers} overlay/cosa-json"
441443

0 commit comments

Comments
 (0)