this won't work. the device nodes are owned by root.root, so this patch doesn't go anywhere at all...
really, please use the udev rule method, and add a udev rule like this: KERNEL=="intel_sst*", GROUP="audio", MODE="0660" if you are unable to do this or do not understand, then please assign the issue to an engineer who can do this. Submitting endless attempts that have been untested is not going to help. Auke On Tue, Jun 28, 2011 at 11:51 AM, glu <[email protected]> wrote: > Hi, > I have made the following changes to fastinit in project > MeeGo:1.2:oss:Testing. Please review and accept ASAP. > > Thank You, > glu > > [This message was auto-generated] > > --- > > Request #21763: > > submit: home:glu:branches:MeeGo:1.2:oss:Testing/fastinit(r6)(cleanup) -> > MeeGo:1.2:oss:Testing/fastinit > > > Message: > submit again > > State: new 2011-06-28T11:51:48 glu > Comment: None > > > > changes files: > -------------- > --- fastinit.changes > +++ fastinit.changes > @@ -0,0 +1,3 @@ > +* Tue Jun 28 2011 Lu Guanqun <[email protected]> - 1.28 > +- Change permission of /dev/intel_sst and /dev/intel_sst_ctrl to 0660 (BMC > #20216) > + > > new: > ---- > change-permission-of-dev-intel > > spec files: > ----------- > --- fastinit.spec > +++ fastinit.spec > @@ -10,6 +10,7 @@ > Patch2: disable-als.patch > Patch3: ohmd-boardname.patch > Patch4: tune-ksm.patch > +Patch5: change-permission-of-dev-intel > BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root > Requires: mingetty, /bin/awk, /bin/sed, /bin/mktemp, e2fsprogs >= 1.15 > Requires: /sbin/sysctl, syslog > @@ -42,6 +43,7 @@ > %patch2 -p1 > %patch3 -p1 > %patch4 -p1 > +%patch5 -p1 > > %build > make -C src > > other changes: > -------------- > > ++++++ change-permission-of-dev-intel (new) > --- change-permission-of-dev-intel > +++ change-permission-of-dev-intel > +change permission of /dev/intel_sst and /dev/intel_sst_ctrl > + > +From: Lu Guanqun <[email protected]> > + > + > +--- > + > + rc.d/rc.sysinit | 9 +++++++++ > + 1 files changed, 9 insertions(+), 0 deletions(-) > + > + > +diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit > +index d45f50d..c1cdabd 100755 > +--- a/rc.d/rc.sysinit > ++++ b/rc.d/rc.sysinit > +@@ -214,6 +214,15 @@ chmod 0770 /var/run/PolicyKit > + mount -a -t nonfs,nfs4,smbfs,cifs -O no_netdev > + mount -t debugfs none /sys/kernel/debug/ > + > ++# change permission of /dev/intel_sst > ++if [ -e /dev/intel_sst ]; then > ++ chmod 0660 /dev/intel_sst > ++fi > ++ > ++# change permission of /dev/intel_sst_ctrl > ++if [ -e /dev/intel_sst_ctrl ]; then > ++ chmod 0660 /dev/intel_sst_ctrl > ++fi > + > + # Clean out /. > + rm -f /fastboot /fsckoptions /forcefsck /.autofsck /halt /poweroff > > _______________________________________________ > MeeGo-commits mailing list > [email protected] > http://lists.meego.com/listinfo/meego-commits > _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
