Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
5f4260fc
Commit
5f4260fc
authored
Oct 07, 2020
by
Alexander Epaneshnikov
Browse files
add sound support in run_archiso.sh
also included serial output on stdio it helps in debugging without sight.
parent
2c66cd45
Pipeline
#2394
passed with stage
in 29 seconds
Changes
1
Pipelines
15
Hide whitespace changes
Inline
Side-by-side
scripts/run_archiso.sh
View file @
5f4260fc
...
...
@@ -86,12 +86,16 @@ run_image() {
-drive
"id=
${
mediatype
}
0,if=none,format=raw,media=
${
mediatype
/hd/disk
}
,readonly=on,file=
${
image
}
"
\
-display
sdl
\
-vga
virtio
\
-audiodev
pa,id
=
snd0
\
-device
ich9-intel-hda
\
-device
hda-output,audiodev
=
snd0
\
-device
virtio-net-pci,romfile
=
,netdev
=
net0
-netdev
user,id
=
net0
\
-machine
type
=
q35,smm
=
on,accel
=
kvm
\
-machine
type
=
q35,smm
=
on,accel
=
kvm
,pcspk-audiodev
=
snd0
\
-global
ICH9-LPC.disable_s3
=
1
\
-enable-kvm
\
"
${
qemu_options
[@]
}
"
\
-no-reboot
-no-reboot
\
-serial
stdio
}
set_image
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment