tec/rootfs: Enable sensors support

Add the required systemd files and start the sensors service on bootup.

Change-Id: I95f96dae7a189f168c575a868b2bda1c595c36a1
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/420
Reviewed-by: Julian Scheel <julian.scheel@avionic-design.de>
tec/rootfs: Remove unused systemd services files

There are several used files which can be removed. The nvidia-resource-
manager was required by the old nvidia vibrante drivers which have been
superseded by the L4T drivers.
The iflinkd service now uses per interface configuration. And the nodm
service is set as the default display-manager.

Change-Id: Iae833e0e7d016899321e170502e7514f8d5676cb
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/419
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
tec/rootfs: Redirect Xsession output to syslog.

Do not write the Xsession output directly to file, instead forward to
logger, so syslog can take care of the reset. Therefor we add a
configuration for rsyslog.

Change-Id: I48c31493c4df0d6ddd22d20614e8c0305136869b
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/418
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
tec/rootfs: Allow alternate startup program

When looking for the Xsession startup program, do not just use awesome. Allow
also to override the default using persist and look for alternate default
environments such as Xfce4 and openbox.

Change-Id: I33a91f76ed7178e4b7a35ab5b174d6c70443759d
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/681
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>
tec/rootfs: Add link to remote-control.conf

The link is required to make remote-control work properly. Otherwise it will
start with the default configuration.

Change-Id: I394c44809573583c7b64fce4ae65af4629afcb92
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/684
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>
tec/initrd: Update device naming script

Boards running with T30 should be named with -ng. The simplest way to do this,
is to check the number of CPU cores.
Wile adding this we notice, that the script does not set the hostname, when no
persistent hostname file is present. So we restructure the file a bit to solve
this issue.

Change-Id: I2907572feba871e40a0c3134e4aabff508c7ba9a
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/686
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>
tec/rootfs: Update default profile.

Show a proper login message including the os relase informations. Also
set some enviroment variables to useful defaults.

Change-Id: Ia4f8d40e59b167b3d8039c50ae1ed4e7725db50f
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/687
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>
tec/rootfs: Add X-server configuration

This add configuration files for the X-server mainly to to disable screen
blanking.

Change-Id: I5a7ba13984bb1cd80d8bbaf3587d8ea78b6dad85
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/685
Reviewed-by: Dirk Leber <dirk.leber@avionic-design.de>