Skip to content

Commit d98f3de

Browse files
committed
buildextend-legacy-oscontainer: stop using virtio-serial hack
Now that we're on virtiofs, we can undo this hack.
1 parent cc605eb commit d98f3de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/buildextend-legacy-oscontainer.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ final_outfile=$(realpath "$1"); shift
88
IMAGE_TYPE=legacy-oscontainer
99
prepare_build
1010
tmp_outfile=${tmp_builddir}/legacy-oscontainer.ociarchive
11-
runvm -chardev "file,id=ociarchiveout,path=${tmp_outfile}" \
12-
-device "virtserialport,chardev=ociarchiveout,name=ociarchiveout" -- \
13-
/usr/lib/coreos-assembler/buildextend-legacy-oscontainer.py \
14-
--output "/dev/virtio-ports/ociarchiveout" "$@"
11+
runvm -- /usr/lib/coreos-assembler/buildextend-legacy-oscontainer.py \
12+
--output "${tmp_outfile}" "$@"
1513
/usr/lib/coreos-assembler/finalize-artifact "${tmp_outfile}" "${final_outfile}"

0 commit comments

Comments
 (0)