In order to reduce the size of the minimal image, we want to exclude
python cached files.
NB: This only applies for files part of python3 package. Any python
libary can install its own pyc files.
BugzID: 67738
We want to remove python cached files in ramdisk images to reduce their
size, but keep them in mmc images to have better performances.
We therefor need to make this configurable from distro config.
BugzID: 67738
meta-updater is containing a config include file which is already
defining everything that is required to setup a proper OSTree distro.
It is especially defining some timestamp-related config which we were
missing and that are required for a proper functionning of the python
cached files in the OSTree read-only root partition.
Without this config the pyc files are not used by python.
See :
https://github.com/advancedtelematic/meta-updater/issues/461https://github.com/advancedtelematic/meta-updater/pull/467/files
BugzID: 67738
minimal-package class was required for installing
minimal wl18xx firmware files.
Since -wlan layer this is not longer required.
BugzID: 67838
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
drivers and firmware packages installation are handled
in initramfs-ostree-image.bbappend
BugzID: 67838
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Change initialy present in meta-netmodule-fct. The goal was to reduce
size of fct image.
Since having bbappends in meta-netmodule-fct leads to issues and
since this change will have no bad impact on other images, it moved
here.
BugzID: 65998
This tool is automatically added by the sota class but we don't need it
and it is even flooding the logs by trying to connect to a server every
10 seconds.
BugzID: 65532
Our custom service file is outdated and show sometimes errors during
startup.
It was created at time where the upstream recipe did not support
systemd.
BugzID: 65497
Use smaller journal file size.
Reapply persistent logging.
Install default journald.conf file for all machine targets - as long
no machine specific file is available.
BugzID: 63714
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Use default machine independent configuration file.
Reverts also DefaultTimeoutStopSec=10s since this killed
GNSS save on shutdown service.
BugzID: 63924
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
If no device is detected or available do no exit script with error which
leads to failing systemd service.
BugzID: 63562
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Do status check before ping and exit immediately.
Add timeout to ping of 1s (-W option)
Reduce retry from max 3min down to 1min
BugzID: 63535
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
updated git hash of sys-mon retrying 3 times reading the
temperature before throwing and exception
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
the nmapp library is intended to share code over several
teams. Additionally it shall have modules that only has to be
written once.
The library is unit tested and uses CppUTest as framework
BugzID: 62219
cpputest is a unit test framework for C/C++ and builds the base
of test driven devlopment. Hence this framework is needed for app
development on the host and thus added to the SDK.
BugzID: 62219
This tool is required to show the progress of update in real time.
Without it the output of update script is buffered and shown only at the
end of the update, letting the user not aware of what is going on.
BugzID: 62703
Configuration is not possible while buffer mode is ongoing. The previous
code was making sure that it was disabled but was always enabling it
once done, even if it was not enabled before. But if only the sampling
frequency has been set, it could happen that enabling was not possible.
For example, if no channel was selected. Leading to error messages in
the logs.
BugzID: 62694
Required for HW23.
The code is not really clean but helps make the difference between HW21
and HW23. Polling creates a device /dev/imu0 giving the poll frequency.
BugzID: 61346
This tool is parsing first sector of MMC to find bootloaders, and then
reports the data of these bootloaders to /run/bootloader.
It also creates the file /dev/bootloaderX for each bootloader,
allowing to do a safe and redundant update.
BugzID: 62317
Some update script require these tools in their real version and not the
busybox version. It does not make sense to staticaly link all of them.
BugzID: 61929
busybox wget does not completely support TLS/SSL and it was not
possible to download the firmwares from NetModule public server.
bash was always required, but the shebang was not set properly
in the tool repo.
BugzID: 62136
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
With persistent storage systemd journal logs don't get lost upon reboot.
Limited use of persistent memory with SystemMaxUse to 256M.
BugzID: 61999
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
nmhw-fwupdate provides a generic way to install or update any given
firmware packages (e.g. gnss, lte modem, bootloaders, ...).
this package is added to all image types in the netmodule linux
reference distro.
BugzID: 61471
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>