problem while adding both systemd and sysvinit on yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

problem while adding both systemd and sysvinit on yocto

1,225件の閲覧回数
Chethan
Contributor III

Hi,

I am using LS1046ardb board for one of my project, in that I want add the recipes of systemd and sysvinit so that I tried modify the local.conf like below.

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

But in that I am able to configure the Systemd on root file system NOT rcS.d and all (related files of sysvinit).

commands used to build root file system is  

1. flex-builder -i clean-rfs -r yocto

2. flex-builder -i mkrfs -r yocto:devel -a arm64

Please throw some light to move forward this problem

Thanks & Regards

Chethan GR

ラベル(1)
0 件の賞賛
3 返答(返信)

1,207件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

I discussed this issue with the flex-builder developer.

If systemd is used, sysvinit rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d, rc6.d & rcS.d folders in /etc folder should not be needed any more.

Integrating both systemd and sysvinit in rootfs simultaneously is not reasonable.

 

0 件の賞賛

1,189件の閲覧回数
Chethan
Contributor III

Hi,

If I added both Systemd and Sysvinit in root file system what problem will cause? Please let me know.

Thanks & Regards

Chethan GR   

0 件の賞賛

1,173件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

It is impossible for Yocto to integrate both systemd and sysvinit into the rootfs filesystem, there is conflicting problem to integrate both, because both systemd and sysvinit contain "init" script.

So you only could choose one init manager tool systemd or sysvinit.

0 件の賞賛