From c58b44f016e78796b365e4f01c61863d957ef1fa Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 6 May 2021 01:37:51 +0200 Subject: Use QEMU 6.x options .gitlab/ci/build-host.sh: Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is now obsolete. --- .gitlab/ci/build-host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab') diff --git a/.gitlab/ci/build-host.sh b/.gitlab/ci/build-host.sh index be688bb..12f6e64 100755 --- a/.gitlab/ci/build-host.sh +++ b/.gitlab/ci/build-host.sh @@ -71,7 +71,7 @@ function start_qemu() { -initrd initramfs-linux.img \ -append "archisobasedir=arch archisolabel=${ISO_VOLUME_ID} cow_spacesize=4G ip=dhcp net.ifnames=0 console=ttyS0 mirror=${MIRROR}" \ -drive file=scratch-disk.img,format=raw,if=virtio \ - -drive file="${ISO}",format=raw,if=virtio,media=cdrom,read-only \ + -drive file="${ISO}",format=raw,if=virtio,media=cdrom,read-only=on \ -virtfs "local,path=${ORIG_PWD},mount_tag=host,security_model=none" \ -monitor none \ -serial pipe:guest \ -- cgit v1.2.3-70-g09d2