Since user move directories in /var/lib aren't deployed in sota images.
So create them by systemd's tmpfiles.d.
/var/lib/misc is required for dnsmasq lease file.
BugzID: 56729
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
dnsmasq is started by systemd service during booting. This process is
preventing networkmanager for e.g. bring up any wifi access point where
dnsmasq acts as dhcp server.
Directory /var/lib/misc is required for lease file.
BugzID: 56729
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
FCT Hotfix: Remove unnecessary ping check and fix zerobyte warning.
ip=dhcp is affecting init system and services are failing even when
target is started with/after network-online.target
Needs further investigations!
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
All serial based services gets their network configuration through
/etc/user-module/network.conf file
Introduced systemd target user-module
BugzID: 56443
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
User module provides few information over i2c bus, e.g. ip, version,..
Access /proc/device-tree/user_module/ for checking availability of user
module and get information and stores settings under /etc/user-module/
Port definitions for each services is provided through this recipe
and not through device tree. Would be nice feature for future improvements.
socket-uart and cannelloni depends on that recipe.
BugzID: 56443
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Start systemd services for providing serial interfaces of remote machine:
- UART (ttyUM0)
- KLINE (ttyUM1)
- LIN (ttyUM2)
Caution: UserModule connection settings are hardcoded within the services!
BugzID: 56441
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Systemd service file Type "forking" leads to service restart which
caused socket disconnection. ExecStart process was never forked.
Now Type=simple fixed this issue. It' anyway recommended for
long running tasks.
Socat:
- Fixed typo rawer to raw
- Set echo off
- Defined bitrate
BugzID: 52063
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
patch-file is now available in meta-updater and thus this bbappend file
is not required anymore.
BugzID: 55796
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
Bind pseudo tty and origin uart with socat usage (tcp socket)
Socat is started by systemd service.
BugzID: 52063
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This tool have been provided for debugging purposes. Therefore it is
removed from release and minimal images and only used in development
images.
BugzID: 55615
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
Extend archiver class with selectiv package archiving (masking)
and option to remove .git/ repository
Hold changes in this new created file and try to bring it upstream
Referenced to commit id: a2eb50176b800c49c3899fa2f87585a869690bfa
from poky
BugzID: 54327
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
The mklibs process optimizes the size of the libraries,
while the prelink process optimizes the dynamic linking
of shared libraries to reduce start up time of executables.
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
INCLUDE_PYC = 0 should prevent the python recipe to build pycache.
Because it still produces half the pycache (bug?),
I added a script to find and remove all pycache directories before they are packaged.
BugzID: 53805
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This makes sure, that every service will work with the changes made to the
rootfs, while the overlay is active.
BugzID: 54854
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This also rebuilds recipes which use the EXTERNALSRC_GIT_SRCREV variable, when the variable changes.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
fdisk 'u' commands changed the unit to cylinders which is deprecated
according to warning thrown by fdisk. Furthemore, itcreates a mismatch
between the values used in fdisk and the values read from the sysfs
(start, size, etc...) which lead to an error