[yocto] Potential (?) systemd YOCTO problems
Zoran Stojsavljevic
zoran.stojsavljevic at gmail.com
Mon Jun 3 10:38:47 PDT 2019
Hello Folks,
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 at fedora29-ssd build]$ bitbake --version
BitBake Build Tool Core version 1.42.0
[user at fedora29-ssd build]$ bitbake -s | grep networkmanager
networkmanager :1.16.0-r0
networkmanager-openvpn :1.8.10-r0
python-networkmanager :2.1-r0
[user at fedora29-ssd build]$ bitbake -s | grep systemd
python-systemd :234-r0
python3-systemd :234-r0
systemd 1:241+AUTOINC+c1f8ff8d0d-r0
systemd-bootchart :233+gitAUTOINC+fe1c5e41e6-r0
systemd-bootconf :1.00-r0
systemd-compat-units :1.0-r29
systemd-conf :241+AUTOINC+c1f8ff8d0d-r0
systemd-machine-units :1.0-r19
systemd-serialgetty :1.0-r5
systemd-systemctl-native :1.0-r6
[user at fedora29-ssd build]$
Still. I expected to see the following on the target (my BBB):
/etc/init.d/networking script, but I have the following:
root at beaglebone:/etc/init.d# pwd
/etc/init.d
root at 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
root at beaglebone:/etc/init.d#
The socketcand recipe is here:
https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/socketcand/socketcand.bb
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.
root at beaglebone:/etc/systemd# ls
coredump.conf logind.conf networkd.conf sleep.conf
system.conf user
journald.conf network resolved.conf system
timesyncd.conf user.conf
root at beaglebone:/etc/systemd# cd network
root at 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 ..
root at beaglebone:/etc/systemd/network#
What I am doing wrong here?
Thank you,
Zoran
_______
More information about the yocto
mailing list