On Mon, Jan 20, 2014 at 12:43 PM, Robert Nelson <[email protected]>wrote:

> On Sun, Jan 19, 2014 at 12:01 AM, Mark Grosen <[email protected]> wrote:
> > * Add /sbin and /usr/sbin to the default PATH
>
> Are you thinking system-wide or just the first user?
>
> As i'm looking at /etc/profile
>
> if [ "`id -u`" -eq 0 ]; then
>   PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> else
>   PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
> fi
> export PATH
>
> Thinking of using sed to change...
>
> from:
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
> to:
>
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
>
>
I would make it system-wide. Given this is for embedded systems, I think
any user is going to want access to the "if*" and "iw*" commands as well as
i2c utilities (IMHO)


> > * Enable the EXTRA_GROUPS options in /etc/adduser.conf and add i2c to the
> > EXTRA_GROUPS
>
> Sounds good, added:
>
> https://github.com/beagleboard/image-builder/commit/47a74f654dddcf21e5327c76216b6a8bb6dfbcec
>
>
Thanks!

On a related note, it would be convenient if the spidev devices were in the
same
or similar group.


> > * Add a way to identify the build version (or tell me how). I see
> > /etc/os-release but it does not have a RCN build identifier in it
>
> I can't really touch /etc/os-release, as any stable update might blow
> that away...
>
> But i set it up similar to Angstrom:
>
> debian@beaglebone:~$ cat /etc/dogtag
> BeagleBoard.org BeagleBone Debian Image 2014-01-16
>

Ooops, missed that one in my grep'ing around - just what I was looking for.
Thanks.

Mark


>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to