/etc/inittab does not exist!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

/etc/inittab does not exist!

2,541 Views
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 Kudos
Reply
6 Replies

2,261 Views
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 Kudos
Reply

2,261 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos
Reply

2,261 Views
fabio_poiatti
Contributor III

:-(

0 Kudos
Reply

2,261 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos
Reply

2,261 Views
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,261 Views
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 Kudos
Reply