public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: cover CONFIG_BINFMT_SCRIPT in init.txt
@ 2013-05-30 19:24 Kris Rusocki
  2013-05-30 20:33 ` Andreas Mohr
  0 siblings, 1 reply; 6+ messages in thread
From: Kris Rusocki @ 2013-05-30 19:24 UTC (permalink / raw)
  To: linux-doc, andi; +Cc: rob, linux-kernel

From: Kris Rusocki <kszysiu@braxis.org>

Now that binfmt_script is configurable, explain yet another possible
cause of boot failure (a script w/CONFIG_BINFMT_SCRIPT != y).

Signed-off-by: Kris Rusocki <kszysiu@braxis.org>
---
 Documentation/init.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/init.txt b/Documentation/init.txt
index 535ad5e..8c6af4f 100644
--- a/Documentation/init.txt
+++ b/Documentation/init.txt
@@ -29,8 +29,9 @@
 E) make sure the binary's architecture matches your hardware.
    E.g. i386 vs. x86_64 mismatch, or trying to load x86 on ARM hardware.
    In case you tried loading a non-binary file here (shell script?),
-   you should make sure that the script specifies an interpreter in its shebang
-   header line (#!/...) that is fully working (including its library
+   you should make sure that your kernel supports script execution
+   (CONFIG_BINFMT_SCRIPT=y) and the script specifies an interpreter in its
+   shebang header line (#!/...) that is fully working (including its library
    dependencies). And before tackling scripts, better first test a simple
    non-script binary such as /bin/sh and confirm its successful execution.
    To find out more, add code to init/main.c to display kernel_execve()s

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-08  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 19:24 [PATCH] Documentation: cover CONFIG_BINFMT_SCRIPT in init.txt Kris Rusocki
2013-05-30 20:33 ` Andreas Mohr
2013-06-03 11:16   ` Rob Landley
2013-06-03 20:26     ` Andreas Mohr
2013-06-07  1:33       ` Rob Landley
2013-06-08  9:13         ` Andreas Mohr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox