soundcheck wrote: 
> Small or big difference !?!? There are differences at no extra cost.
> Actually these are improvements.
> And to me even 5% is a nice bonus.
> 
> I never said anything about soundquality. 
> 
> The main target is to improve system efficiency. And this not in
> absolute terms.
> To me it makes a huge difference if an app runs at 3.5% or 0.7% CPU
> load.
> A 500% difference is clear sign of inefficiency to me.
> 
> Benchmark tools usually address a certain area. 
> At least linpack tells me that there are differences. No HokusPokus.
> Obviously these improvements could be expected. 
> 
> For LMS all this might not have any impact. For squeezlite it might
> have.
> 
> I'm just giving hints. Go for it or leave it.

I have confidence in Triode's build methods and coding practice.  I
don't see the worth in this speculation.

You said:

soundcheck wrote: 
> 
> The most challenging part then is probably adding the user "aur"  with
> homedir, group assignments and sudo permissions in /etc/sudoers 
> That's not well described on 'Triodes git-site'
> (https://github.com/SqueezeOnArch/soa-aur).
> If you don't have that right, the SoA installation scripts will fail!
> 

It shouldn't be a challenge. as I posted Triodes' code to do this twice
in recent days (see:
http://forums.slimdevices.com/showthread.php?101624-Announce-Squeeze-on-Arch-developer-version&p=818130&viewfull=1#post818130
) 

Just two lines to add the user "aur" as part of the wheel group, and to
allow members of wheel group to "sudo" without requiring a password:


Code:
--------------------
    
  useradd -r -m -d /aur -G wheel -c 'Soa Aur' -s /bin/false aur
  sed -i -e "/%wheel ALL=(ALL) NOPASSWD: ALL/c %wheel ALL=(ALL) NOPASSWD: ALL" 
/etc/sudoers
  
--------------------


I wouldn't use your code:


Code:
--------------------
    
  mkdir /aur
  useradd -p $(openssl passwd -1 aur) -d /aur -G root,audio,sudo -s "/bin/bash" 
aur
  chown aur.aur /aur
  echo 'aur ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers
  echo '%sudo ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers
  
--------------------


Lines 1 and 3 are redundant as the useradd d flag creates the directory
with the correct ownership, and why would you want to add any user to
the "root" group? The rest is unnecessarily convoluted. 

Keep it neat and simple, and use Triode's code.

The steps to add SOA on top of Arch can then be done as root:


Code:
--------------------
    
  cd /aur
  sudo -u aur git clone https://github.com/SqueezeOnArch/soa-aur.git
  cd /aur/soa-aur
  sudo -u aur git clean -f
  echo y | sudo -u aur ./soa-install.sh
  ln -s /aur/soa-aur/LICENSE /root/soa-LICENSE
  ln -s /aur/soa-aur/LICENSE /etc/soa-LICENSE
  
--------------------


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to