/etc/inittab does not exist!

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

/etc/inittab does not exist!

2,545 次查看
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 回复数

2,265 次查看
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 项奖励
回复

2,265 次查看
b36401
NXP Employee
NXP Employee

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

0 项奖励
回复

2,265 次查看
fabio_poiatti
Contributor III

:-(

0 项奖励
回复

2,265 次查看
b36401
NXP Employee
NXP Employee

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

0 项奖励
回复

2,265 次查看
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

2,265 次查看
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 项奖励
回复