[yocto] systemd support?
Gary Thomas
gary at mlbassoc.com
Fri Aug 16 04:07:41 PDT 2013
On 2013-08-15 16:29, Gary Thomas wrote:
> 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?
>
Interesting - this seems to be a host bug. I got the above error
when building on Ubuntu 12.04/x86_64. I do not get the error when
using Fedora 13/i386. I've not yet tried any other host.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list