mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-24 21:47:50 +00:00
472c5a3294
Add system_id attribute to targets. This ID is supposed unique for a combination of hardware, kernel, and the file system, and contains elements from each. 1. Hardware is identified by the concatenation of MAC addresses of 'link/ether' network interfaces on the system. This method is used, as DMI tables are often unimplemented on ARM targets. 2. The kernel is identified by its version. 3. The file system is identified by the concatenation of UUID's of the target's partitions. It would be more correct to only use UUID of the root partition, as system_id is not intended to be affected by removable, media, however, there is no straight-forward way of reliably identifying that without root. system_id is intended to be used as an key for the purposes of caching information about a particular device (e.g. so that it does not need to be probed on each run).
devlib ====== ``devlib`` exposes an interface for interacting with and collecting measurements from a variety of devices (such as mobile phones, tablets and development boards) running a Linux-based operating system. Installation ------------ :: sudo -H pip install devlib Usage ----- Please refer to the "Overview" section of the `documentation <http://devlib.readthedocs.io/en/latest/>`_. License ------- This package is distributed under `Apache v2.0 License <http://www.apache.org/licenses/LICENSE-2.0>`_. Feedback, Contrubutions and Support ----------------------------------- - Please use the GitHub Issue Tracker associated with this repository for feedback. - ARM licensees may contact ARM directly via their partner managers. - We welcome code contributions via GitHub Pull requests. Please try to stick to the style in the rest of the code for your contributions.
Description
Languages
Python
96%
Shell
1.8%
C
1.4%
Java
0.5%
Dockerfile
0.3%