/etc/inittab does not exist!

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

/etc/inittab does not exist!

2,245件の閲覧回数
fabio_poiatti
Contributor III

I builded with success a     fsl-image-validation-imx    

The image is downloaded in the IMX6ULL14x14 EVK and working well .... 

Trying to understand the startup sequence I saw the first process  (Pid 1)

to be /sbin/init .... but how is it possible to configure it if /etc/inittab does not exist?

Thanks

Fabio

0 件の賞賛
返信
6 返答(返信)

1,965件の閲覧回数
fabio_poiatti
Contributor III

I would like to have sysvinit instead of systemd (default) 

but the configuration in conf/local.conf is not correct I  think

becasue I have always systemd

DISTRO_FEATURES_append = "sysvinit "
VIRTUAL-RUNTIME_init_manager = "sysvinit"

0 件の賞賛
返信

1,965件の閲覧回数
b36401
NXP Employee
NXP Employee

Accordingly to Yocto team, we stopped support of non-systemd configurations.

0 件の賞賛
返信

1,965件の閲覧回数
fabio_poiatti
Contributor III

:-(

0 件の賞賛
返信

1,965件の閲覧回数
b36401
NXP Employee
NXP Employee

You can use /etc/rc.local file for adding scripts to startup.

0 件の賞賛
返信

1,965件の閲覧回数
shivanipatel
Senior Contributor II

Hi, fabio mario poiatti

I assume you have systemd running as an initialization system in your machine because /etc/inittab does not exist in your filesystem. systemd does init related configurations using unit files.

Please refer below links regarding systemd:

  1. Detailed information about Unit Files
  2. Automatically start services with systemd

Regards,

Shivani

1,965件の閲覧回数
fabio_poiatti
Contributor III

thanks

but I prefer sysvinit ... how can I configure it?

in addiction ... I'm using fsl-imx-x11 distro for imx6ull14x14evk machine with bitbake fsl-image-validation-imx ... but I don't need X11 but 

with poky I've some problem (probably regarding the imx6ull14x14evk support) ....

any suggestion? is it possible to have lighter image with all I need for ima6ull14x14evk?

thanks

0 件の賞賛
返信