~comcloudway/builds.sr.ht

6954c778a42cff11838fa63db77411e213e41a72 — Drew DeVault 5 years ago c12d1b6
image/debian: change ppc64el qemu bootup
2 files changed, 2 insertions(+), 1 deletions(-)

M images/control
M images/debian/functions
M images/control => images/control +1 -0
@@ 32,6 32,7 @@ cpu_opts() {
			printf "%s" "-cpu qemu64"
			;;
		ppc64le)
			printf "%s" "-cpu power9 -machine pseries"
			;;
		*)
			echo "Unsupported architecture $arch" >&2

M images/debian/functions => images/debian/functions +1 -1
@@ 20,7 20,7 @@ boot() {
			;;
		ppc64el)
			driveopts="id=root,if=none"
			qemu=qemu-system-ppc64le
			qemu=qemu-system-ppc64
			_boot \
				$(cpu_opts ppc64le) \
				-device virtio-blk-pci,drive=root \