On Thu, Dec 24, 2015 at 5:59 PM, Jin Li <liji...@huawei.com> wrote:
> Hi,
>
> I am trying to build yocto project which use systemd as system init manager.
> But the qemu boot up and still use INIT as usual. The rootfs even fail to 
> install systemd.
>
> I refers to yocto docs 
> http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#ref-features-distro
> I use meta/recipes-extended/images/core-image-full-cmdline.bb and add the 
> following part
> to support systemd:
>
> DISTRO_FEATURES_append = "systemd"

space after first "

> DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
>
> Did I miss somethings ?
>

DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"


> Any help would be appreciated.
>
> Jin
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to