Oatslite

From OLPC
Jump to navigation Jump to search


oatslite is a server implementation of the Theft deterrence protocol.

For extensive information, please read the README.

Installation

The current version is targetted at Fedora 18 hosts.

Create /etc/yum.repos.d/inventario.repo with the following contents:

[inventario]
name=Inventario  
baseurl=http://dev.laptop.org/~dsd/inventario-repo/$releasever
enabled=1  
gpgcheck=0

Install the package:

# yum install oatslite

Read the README then configure oatslite to your needs:

# cat /usr/share/doc/oatslite-*/README
# cp /usr/share/doc/oatslite-*/oatslite-sample.cfg /etc/oatslite/oatslite.cfg
# nano /etc/oatslite/oatslite.cfg

Start the service and mark it to be started during boot:

# systemctl enable oatslite.service
# systemctl start oatslite.service

Building

Alternatively, it can be built from source. Tested by James Cameron on Fedora 17 builds in the OLPC OS 12.1.0 series.

Development

To package:

# git archive --format=tar --prefix oatslite-2.0/ HEAD | bzip2 > ~/rpmbuild/SOURCES/oatslite-2.0.tar.bz2
# rpmbuild -ba oatslite.spec