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
OSTree is doing some finalizing tasks after system upgrade. But systemd
shutdown timeout is now default on 10s (or what ever). With this commit
ostree finalize service is indepent from systemd's default value.
BugzID: 53646
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Deploy pre defined configuration file for nmhw21 and set default
timeout to 10s instead of 90s.
BugzID: 53646
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Hardware nmhw21 doesn't have any atheros wifi nor bluetooth chip. So remove
these two firmware packages.
BugzID: 53810
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Previous fixes didn't helped so remove DATE variable from recipe
to get some silence in here. Also removed do_configure and
do_install_remove [nostamp] since they are not really necessary.
But let do_comile and do_install [nostamp] stay for forcing rebuild and
installation to keep files in final rootfs up to date.
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Using ${MACHINE} directly in the recipe is problematic
when building recipes for MACHINE for which there is no branch
on the battery-test repo.
Even if the recipe is not used, bitbake will fail while before doing
anything during the parsing step.
Workaround would be to overwrite this SRC_URI in machine.conf file.
devmem2:
recipe in meta-openembedded vs static C file
gettext:
0.19.8.1 in meta-openembedded vs 0.19.7
keyutils: not used
libxcrypt: useless dependency