Fix sound issue due to smack rules
authorBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Tue, 25 Jun 2013 17:07:35 +0000 (19:07 +0200)
committerBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Tue, 25 Jun 2013 17:07:35 +0000 (19:07 +0200)
packaging/wrt_widgets.spec

index ab68f24..0756a5b 100644 (file)
@@ -256,6 +256,10 @@ ail_initdb
 mv /usr/share/applications_tmp/* /usr/share/applications/
 for d in dbspace home usr; do find /opt/$d -exec chsmack -a '*' {} \; ; done;
 find  /usr/lib64/ -exec chsmack -a _ {} \;
+
+# WA to fix sound issue on gnome after an intall of WRT
+chsmack -a _ /dev/snd/*
+
 chmod -R a+rw /opt/dbspace/
 
 echo "Please Reboot and Execute the script install_widgets.sh as user root"