summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2013-06-04 14:15:08 +0200
committerMichael Neves2013-06-04 14:15:08 +0200
commitd878d7bb0f9cd2306ea5fa629ca5353048e38aa9 (patch)
tree4f7ebfb2dcead125364c0072eacf1d684e539400
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-d878d7bb0f9cd2306ea5fa629ca5353048e38aa9.tar.gz
tm-scripts-d878d7bb0f9cd2306ea5fa629ca5353048e38aa9.tar.xz
tm-scripts-d878d7bb0f9cd2306ea5fa629ca5353048e38aa9.zip
insert sound
-rwxr-xr-xremote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh13
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.conf3
2 files changed, 8 insertions, 8 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh b/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh
index 9314bb42..6c08653f 100755
--- a/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh
+++ b/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh
@@ -377,15 +377,14 @@ writelog "\tVM Hostname:\t\t$hostname"
### Setup the rest of the environment and run the configured vm
################################################################################
-#TODO: ALSA MIXER IN STAGE32
# Adjust sound volume
#writelog "Unmuting sound...\c "
-#amixer -q sset Master 80% unmute 2>/dev/null
-#amixer -q sset PCM 80% unmute 2>/dev/null
-#amixer -q sset CD 80% unmute 2>/dev/null
-#amixer -q sset Headphone 80% unmute 2>/dev/null
-#amixer -q sset Front 80% unmute 2>/dev/null # in SUSE 11.0 it's headphone
-#amixer -q sset Speaker 80% unmute 2>/dev/null # annoying built-in speaker
+amixer -q sset Master 80% unmute 2>/dev/null
+amixer -q sset PCM 80% unmute 2>/dev/null
+amixer -q sset CD 80% unmute 2>/dev/null
+amixer -q sset Headphone 80% unmute 2>/dev/null
+amixer -q sset Front 80% unmute 2>/dev/null # in SUSE 11.0 it's headphone
+amixer -q sset Speaker 80% unmute 2>/dev/null # annoying built-in speaker
#writelog "finished\n"
# Copy guest configuration (with added information) config.xml to be accessed
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
index 44f97fa0..1aec84df 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
@@ -29,7 +29,8 @@ REQUIRED_BINARIES=" bash
xvidtune
bc
dirname
- mkdosfs"
+ mkdosfs
+ amixer"
REQUIRED_LIBRARIES=" libcap
libcidn
libcom_err