system: only expose getty options for busybox and sysvinit
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Jan 2018 22:14:02 +0000 (23:14 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 12 Jan 2018 21:07:59 +0000 (22:07 +0100)
commit5e23eb5da7b3848cc6b317af9d8c23aac3a13260
tree7041c6fe9f8cf0c8dd8ffa87b17fe69f513e0093
parent8377641062f84dda568d22fb76e1edc2d3b0ffb3
system: only expose getty options for busybox and sysvinit

Only busybox and sysvinit handle the BR2_TARGET_GENERIC_GETTY_TERM and
BR2_TARGET_GENERIC_GETTY_OPTIONS options; the other init systems do
not.

So, protect those options behind appropriate dependencies on busybox
or sysvinit.

Fixes #10301.

Reported-by: Michael Heinemann <posted@heine.so>
Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
system/Config.in