summaryrefslogtreecommitdiffstats
path: root/patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-05-19 18:40:44 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:27:23 +0200
commit1681e0ab170d9dfd9799e0ef3737d2628e69fa65 (patch)
tree9ebdd6a0a8c83d6633ad290cbd57dfbc032c213a /patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch
parentd66169b0f2ef190b3caa05eb32050970db39eb48 (diff)
downloadptxdist-1681e0ab170d9dfd9799e0ef3737d2628e69fa65.tar.gz
ptxdist-1681e0ab170d9dfd9799e0ef3737d2628e69fa65.tar.xz
busybox: version bump to 1.24.2
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch')
-rw-r--r--patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch b/patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch
new file mode 100644
index 000000000..55869e9fe
--- /dev/null
+++ b/patches/busybox-1.24.2/0200-reactivate-check-for-tty.patch
@@ -0,0 +1,28 @@
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Fri, 6 Nov 2009 09:19:58 +0100
+Subject: [PATCH] reactivate check for tty
+
+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(-)
+
+diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
+index ea2446a89814..8b70f99e7633 100644
+--- a/scripts/kconfig/conf.c
++++ b/scripts/kconfig/conf.c
+@@ -498,7 +498,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;