pmbootstrap: pmb.qemu.run: replace removed -soundhw option v1 APPLIED

Luca Weiss: 1
 pmb.qemu.run: replace removed -soundhw option

 1 files changed, 1 insertions(+), 2 deletions(-)
#1001719 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/41656/mbox | git am -3
Learn more about email & git

[PATCH pmbootstrap] pmb.qemu.run: replace removed -soundhw option Export this patch

In the QEMU 7.1 release the deprecated -soundhw option was removed.
Replace it with -audio so we can have audio working again in QEMU.

See also https://www.qemu.org/docs/master/about/removed-features.html
 pmb/qemu/run.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py
index 46e2d752..fdfe5447 100644
--- a/pmb/qemu/run.py
+++ b/pmb/qemu/run.py
@@ -229,8 +229,7 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):

    # Audio support
    if args.qemu_audio:
        command += ["-audiodev", args.qemu_audio + ",id=audio"]
        command += ["-soundhw", "hda"]
        command += ["-audio", f"{args.qemu_audio},model=hda"]

    return (command, env)

pmbootstrap/patches/.build.yml: FAILED in 5m28s

[pmb.qemu.run: replace removed -soundhw option][0] from [Luca Weiss][1]

[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/41656
[1]: mailto:luca@z3ntu.xyz

✗ #1001719 FAILED pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/1001719