Package platformids :: Package embed :: Module armbian

Module armbian

source code

Armbian releases.

The *Armbian* Linux is implemented as a module based on custom numbering scheme due to the specific value ranges, which are required for this distribution only.

The *Armbian* distribution represents a *shrinked multi-role PC-Platform* as an embedded system with integrated low-level HW interfaces for a wide range of *ARM* based boards.


Version: 0.1.1

Author: Arno-Can Uestuensoez

License: Artistic-License-2.0 + Forced-Fairplay-Constraints

Functions
 
my_distrel2tuple(rte=RTE)
Callback for special version layout of Armbian, see manuals.
source code
Variables
  __uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9"
  RTE_ARMBIAN = RTE_LINUX+ custom_dist.add_enum()
Armbian - re-grouped version sub-ranges
  RTE_ARMBIAN5 = RTE_ARMBIAN+ 0x00002800
ARMBIAN - stretch
  RTE_ARMBIAN550 = RTE_ARMBIAN5+ 0x00000190
ARMBIAN - stretch
  dist = ['armbian', '0.0.0', 'Armbian-0.0.0', 'Armbian', (0, 0,...
Function Details

my_distrel2tuple(rte=RTE)

source code 
Callback for special version layout of Armbian, see manuals. 
 
 A callback to be used by the function:
 
    platformids.decode_rte_distrel_to_segments(rte=RTE)
 
 Decodes the compressed *distrel* from the 32bit integer
 bitmask *rte* into the corresponding tuple of integer
 segments.

Args:
    **rte**:
        The comppressed runtime environment identifier bitmask.
         
        default := RTE

Returns:
    Tuple of Integer values of the encoded segments, either
    as defined by the default layout, or any known as defined
    by additional extended and/or custom criteria.
 
Raises:
    pass-through

Examples:
  ::

     decode_rte_distrel_to_segments()     
     =>  (5, 50, 0)    # on Armbian-5.50

 

Decorators:

Variables Details

dist

Value:
['armbian', '0.0.0', 'Armbian-0.0.0', 'Armbian', (0, 0, 0,), 'armbian'\
]