Mauro Ziliani

Hi all.

I make two images  image1  image1-installer
In image1 I don't need any getty so i'd like to put SYSVINIT_ENALED_GETTYS := "" give the output image1.sdcard
IMAGE_INSTALL_append = "sysvinit-inittab "

This is /etc/inittab i'd like inside image1.sdcard

2:2345:respawn:/sbin/getty 38400 tty2

In image1-installer I need only getty1 so i'd like to setup SYSVINIT_ENABLED GETTYS := "1" give the output image1-installer.sdcard
IMAGE_INSTALL_append = " sysvinit-inittab "

The  /etc/inittab in image1-installer.sdcard contains

1:2345:respawn:/sbin/getty 38400 tty1

There is a way to "configure" to make a different output using a PACKAGECONFIG o others variables?

By now I have setup SYSVINIT_ENABLED_GETTYS := "" and than add  2:2345:respawn:/sbin/getty 38400 tty2 or 1:2345:respawn:/sbin/getty 38400 tty1 in the recipe

There is another way?


Sent from Mailspring, the best free email app for work

Join to automatically receive all group messages.