[yocto] systemd support?

Gary Thomas gary at mlbassoc.com
Thu Aug 15 15:29:33 PDT 2013


I tried to take my existing Poky/Yocto system (using my own $DISTRO
which is a derivative of poky) and enable systemd.  I'm using today's
master:
   meta              = "cutting-edge:ff10f72abda52315b892c64f711096772d9a4c1c"

Sadly, building the simplest image fails with this error:

| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//sbin/poweroff to /sbin/poweroff.sysvinit
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/last to /usr/bin/last.sysvinit
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/mesg to /usr/bin/mesg.sysvinit
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/utmpdump to /usr/bin/utmpdump.sysvinit
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/wall to /usr/bin/wall.sysvinit
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
|  Adding system startup for /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs/etc/init.d/systemd-udevd.
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/scp to /usr/sbin/dropbearmulti
| update-alternatives: Linking /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs//usr/bin/ssh to /usr/sbin/dropbearmulti
|  Adding system startup for /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs/etc/init.d/dropbear.
|  Adding system startup for /local/p60_systemd/tmp/work/cobra3530p60-amltd-linux-gnueabi/amltd-console-image/1.0-r0/rootfs/etc/init.d/networking.

I wasn't sure what brought in the error so I pasted a number of lines
of context.

Note: building the same image with 'sysvinit' in DISTRO_FEATURES
instead of 'systemd' works fine.

Any ideas what's going on here?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list