7.2. Layer core¶
7.2.1. Overview¶
The core
layer includes core packages which are always available. The core
layer is loaded by default (as the root layer). It can therefore be seen as an
extension of the root layer.
The distinction between the two is solely due to technical constraints.
7.2.2. Metadata¶
7.2.2.1. Layer Home¶
/opt/metwork-mfext-0.9/opt/core
7.2.2.2. Label¶
core@mfext
7.2.2.3. Package¶
metwork-mfext-minimal
7.2.2.4. Dependencies¶
root@mfext
7.2.2.5. System dependencies (for “generic build”)¶
libc.so.6()(64bit)
libdl.so.2()(64bit)
libgcc_s.so.1()(64bit)
libm.so.6()(64bit)
libncurses.so.5()(64bit)
libpthread.so.0()(64bit)
libresolv.so.2()(64bit)
librt.so.1()(64bit)
libtinfo.so.5()(64bit)
libz.so.1()(64bit)
libelf.so.1()(64bit)
libstdc++.so.6()(64bit)
/usr/bin/which
/usr/bin/wget
7.2.3. Utilities¶
7.2.3.1. layerapi2 utilities¶
See also layerapi2 README for details.
7.2.3.1.1. layers¶
Usage:
layers [OPTION?] - list installed layers
Help Options:
-h, --help Show help options
Application Options:
-r, --raw raw output
-m, --loaded-filter Loaded layer filter (default: no filter, possible values: yes, no)
7.2.3.1.2. is_layer_installed¶
Usage:
is_layer_installed [OPTION?] LAYER LABEL - output 1 is the given layer is installed
Help Options:
-h, --help Show help options
7.2.3.1.3. is_layer_loaded¶
Usage:
is_layer_loaded [OPTION?] LAYER LABEL OR LAYER HOME - output 1 is the given layer is already loaded
Help Options:
-h, --help Show help options
7.2.3.1.4. layer_wrapper¶
Usage:
layer_wrapper [OPTION?] -- COMMAND [COMMAND_ARG1] [COMMAND_ARG2] [...] - wrapper to execute the given command in a process with some specific layers loaded
Help Options:
-h, --help Show help options
Application Options:
-d, --debug debug mode
-e, --empty unload all layers before
-c, --cwd change working directory to the last layer home
-x, --extra-env-prefix if set, add three environnement variables {PREFIX}_NAME, {PREFIX}_LABEL and {PREFIX}_DIR containing the last layer name, label and the last layer home
-E, --empty-env empty environnement (imply --empty)
-k, --empty-env-keeps coma separated list of env var to keep with --empty-env
-l, --layers coma separated list of layers labels/homes ('-' before the name of the layer means 'optional dependency')
-p, --prepend-env ENV_VAR,VALUE string to prepend VALUE in : separated ENV_VAR (like PATH) (can be used multiple times)
-f, --force-prepend do not check existing paths in prepend
--dont-load-optional don't load optional layers
7.2.3.1.5. misc utilities¶
7.2.3.1.6. echo_ok¶
Usage:
echo_ok [OPTION?] [MESSAGE] - write OK (with colors if supported) and a little optional message
Help Options:
-h, --help Show help options
7.2.3.1.7. echo_bold¶
Usage:
echo_bold [OPTION?] [MESSAGE] - write MESSAGE in bold
Help Options:
-h, --help Show help options
7.2.3.1.8. echo_nok¶
Usage:
echo_nok [OPTION?] [MESSAGE] - write ERROR (with colors if supported) and a little optional message
Help Options:
-h, --help Show help options
7.2.3.1.9. echo_warning¶
Usage:
echo_warning [OPTION?] [MESSAGE] - write WARNING (with colors if supported) and a little optional message
Help Options:
-h, --help Show help options
7.2.3.1.10. echo_running¶
Usage:
echo_running [OPTION?] - write RUNNING (with colors if supported)
Help Options:
-h, --help Show help options
7.2.3.1.11. get_unique_hexa_identifier¶
Usage:
get_unique_hexa_identifier [OPTION?] - return a unique hexa identifier
Help Options:
-h, --help Show help options
7.2.4. Packages¶
Name |
Version |
Description |
---|---|---|
1.12.0 |
C-ARES is a C library for asynchronous DNS requests (including name resolves) |
|
5.8 |
Ctags is a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages. |
|
7.65.1 |
CURL is command line tool and library for transferring data with URLs |
|
master20190715 |
Trawl/traverse directory tree or file path to collect stats of every entry in the tree with optional hashing/checksum |
|
2.56.4 |
GLib provides the core application building blocks for libraries and applications written in C. |
|
0.13.1-20180305 |
JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects. |
|
0.0.3 |
layerapi2 lib |
|
4.25 |
A full-featured and high-performance event loop library (in C). |
|
3.2 |
A Portable Foreign Function Interface Library |
|
2.9.2 |
LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014 |
|
2.9.7 |
LIBXML est une bibliotheque en C de decodage XML |
|
1.1.28 |
LIBXSLT est une bibliotheque en C de manipulations XSLT |
|
v_1.11 |
LIQUIDPROMPT is a full-featured & carefully designed adaptive prompt for Bash & Zsh |
|
0.0.5 |
very low level C library/utilities |
|
8.36 |
The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5 |
|
8.0 |
The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands. |
|
5.0.5 |
REDIS is an in-memory data structure store, used as a database, cache and message broker |
|
3080803 |
SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine (the database is a file) |
|
1.3.5 |
TCPING est un outil pour tester un port TCP (avec un timeout) |
|
2.1.0 |
Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator |
(20 components)