Potential (?) systemd YOCTO problems
On Tue, Jun 04, 2019 at 11:34:15PM +0200, Zoran Stojsavljevic wrote:
(I did not find it anywhere in the manuals, maybe I missed the paragraph - please, advice where it is?).This is where I found it previously:
Thank you again,Glad I could help.
I would have a look at the values ofI would like to thank you for the advice. I tried several combinations
without any success, and at the end I came up exactly what you have
suggested to me.
Local.conf looks something like this:
And the latest changes committed which I have tried following your
I need to do more tests... But seems that initial tests show that all
scripts are in place, and systemd is used.
This also should be much better documented somewhere in YOCTO
documentation. My best guess (I did not find it anywhere in the
manuals, maybe I missed the paragraph - please, advice where it is?).
Thank you again,
On Mon, Jun 3, 2019 at 9:07 PM Morné Lamprecht <email@example.com> wrote:
On Mon, Jun 03, 2019 at 07:38:47PM +0200, Zoran Stojsavljevic wrote:
Still. I expected to see the following on the target (my BBB): /etc/init.d/networking script,I would have a look at the values of DISTRO_FEATURES_BACKFILL_CONSIDERED as well as VIRTUAL-RUNTIME_initscripts.
My understanding is that if the former is set to "sysvinit", it causes any redundant SysVinit scripts to be removed, and further, that if the latter is set to "", then all initscripts are removed from the image altogether.
I am a bit deeper to the systemd service investigation in YOCTO. I
installed systemd service, I also have network manager package.
I am using warrior. Here are the snippets of the HOST:
[user@fedora29-ssd build]$ bitbake --version
BitBake Build Tool Core version 1.42.0
[user@fedora29-ssd build]$ bitbake -s | grep networkmanager
[user@fedora29-ssd build]$ bitbake -s | grep systemd
Still. I expected to see the following on the target (my BBB):
/etc/init.d/networking script, but I have the following:
root@beaglebone:/etc/init.d# ls -al
drwxr-xr-x 2 root root 4096 Jun 3 2019 .
drwxr-xr-x 27 root root 4096 May 30 23:46 ..
-rwxr-xr-x 1 root root 1419 May 31 2019 socketcand
The socketcand recipe is here:
Should I add something to the networkmanager recipe (to add some
inheritance)??? To have the component (network script) in
play/installed (in /etc/init.d/)?
The command: # systemctl restart systemd-networkd does work.
coredump.conf logind.conf networkd.conf sleep.conf
journald.conf network resolved.conf system
root@beaglebone:/etc/systemd# cd network
root@beaglebone:/etc/systemd/network# ls -al
drwxr-xr-x 2 root root 4096 May 31 00:57 .
drwxr-xr-x 5 root root 4096 Jun 3 2019 ..
What I am doing wrong here?