From: Baptiste DURAND Date: Wed, 26 Jun 2013 16:21:10 +0000 (+0200) Subject: Remove udev rules provided by libdevice-node X-Git-Tag: submit/tizen/generic/20140107.085326~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5e3456b786e5d23573bb53da622192405acd833;p=profile%2Fcommon%2Fwrt-widgets.git Remove udev rules provided by libdevice-node to avoid smack rules on device node applied at each boot. --- diff --git a/prepare_widgets.sh b/prepare_widgets.sh index 7ece6e6..6c80d51 100755 --- a/prepare_widgets.sh +++ b/prepare_widgets.sh @@ -211,8 +211,12 @@ GOPTION="-g 6514" 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 + # WA to fix sound issue on gnome after an intall of WRT # + # remove smack rules applied by the rules provided by libdevice-node chsmack -a _ /dev/snd/* - + # remove udev rules provided by libdevice-node to avoid smack rule on device node + rm /usr/lib/udev/rules.d/95-devices.rules + rm /usr/lib/udev/rules.d/51-devices-priv.rules + # chmod -R a+rw /opt/dbspace/