All of lore.kernel.org
 help / color / mirror / Atom feed
* Potential (?) systemd YOCTO problems
@ 2019-06-03 17:38 Zoran Stojsavljevic
  2019-06-03 19:07 ` Morné Lamprecht
  0 siblings, 1 reply; 4+ messages in thread
From: Zoran Stojsavljevic @ 2019-06-03 17:38 UTC (permalink / raw)
  To: Yocto Project

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@fedora29-ssd build]$ bitbake --version
BitBake Build Tool Core version 1.42.0
[user@fedora29-ssd build]$ bitbake -s | grep networkmanager
networkmanager                                     :1.16.0-r0
networkmanager-openvpn                             :1.8.10-r0
python-networkmanager                                 :2.1-r0
[user@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@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@beaglebone:/etc/init.d# pwd
/etc/init.d
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
root@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@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@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 ..
root@beaglebone:/etc/systemd/network#

What I am doing wrong here?

Thank you,
Zoran
_______


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-05 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-03 17:38 Potential (?) systemd YOCTO problems Zoran Stojsavljevic
2019-06-03 19:07 ` Morné Lamprecht
2019-06-04 21:34   ` Zoran Stojsavljevic
2019-06-05 16:17     ` Morné Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.