diff options
Diffstat (limited to 'patches/busybox-1.13.4/reactivate-check-for-tty.diff')
-rw-r--r-- | patches/busybox-1.13.4/reactivate-check-for-tty.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/busybox-1.13.4/reactivate-check-for-tty.diff b/patches/busybox-1.13.4/reactivate-check-for-tty.diff new file mode 100644 index 000000000..920575f53 --- /dev/null +++ b/patches/busybox-1.13.4/reactivate-check-for-tty.diff @@ -0,0 +1,28 @@ +Subject: reactivate check for tty +From: Marc Kleine-Budde <mkl@pengutronix.de + +The busybox crew switched of the test for a tty in silentoldconfig, +we use this feature to break when oldconfig needs interaction +in automated build. + +This patch reactivates this feature. + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> + +--- + scripts/kconfig/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: busybox-1.13.2/scripts/kconfig/conf.c +=================================================================== +--- busybox-1.13.2.orig/scripts/kconfig/conf.c ++++ busybox-1.13.2/scripts/kconfig/conf.c +@@ -503,7 +503,7 @@ int main(int ac, char **av) + break; + case 's': + input_mode = ask_silent; +- valid_stdin = isatty(0); //bbox: && isatty(1) && isatty(2); ++ valid_stdin = isatty(0) && isatty(1) && isatty(2); + break; + case 'd': + input_mode = set_default; |