diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-25 18:25:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-25 18:25:24 +0000 |
commit | 737d131e5e7a795ef771f987d7b02cbf4fa670d6 (patch) | |
tree | 0a7acc833d9ee4fa873ec4c15ff60b692bef420e /Config.in | |
parent | 52226771760063acdc89ef4f8e531b595ae4232b (diff) | |
download | busybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.tar.gz busybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.tar.bz2 busybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.zip |
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -465,6 +465,11 @@ config INSTALL_APPLET_HARDLINKS | |||
465 | Install applets as hard-links to the busybox binary. This might count | 465 | Install applets as hard-links to the busybox binary. This might count |
466 | on a filesystem with few inodes. | 466 | on a filesystem with few inodes. |
467 | 467 | ||
468 | config INSTALL_APPLET_SCRIPT_WRAPPERS | ||
469 | bool "as script wrappers" | ||
470 | help | ||
471 | Install applets as script wrappers that call the busybox binary. | ||
472 | |||
468 | config INSTALL_APPLET_DONT | 473 | config INSTALL_APPLET_DONT |
469 | bool "not installed" | 474 | bool "not installed" |
470 | depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS | 475 | depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS |
@@ -474,6 +479,30 @@ config INSTALL_APPLET_DONT | |||
474 | 479 | ||
475 | endchoice | 480 | endchoice |
476 | 481 | ||
482 | choice | ||
483 | prompt "/bin/sh applet link" | ||
484 | default INSTALL_SH_APPLET_SYMLINK | ||
485 | depends on INSTALL_APPLET_SCRIPT_WRAPPERS | ||
486 | help | ||
487 | Choose how you install /bin/sh applet link. | ||
488 | |||
489 | config INSTALL_SH_APPLET_SYMLINK | ||
490 | bool "as soft-link" | ||
491 | help | ||
492 | Install /bin/sh applet as soft-link to the busybox binary. | ||
493 | |||
494 | config INSTALL_SH_APPLET_HARDLINK | ||
495 | bool "as hard-link" | ||
496 | help | ||
497 | Install /bin/sh applet as hard-link to the busybox binary. | ||
498 | |||
499 | config INSTALL_SH_APPLET_SCRIPT_WRAPPER | ||
500 | bool "as script wrapper" | ||
501 | help | ||
502 | Install /bin/sh applet as script wrapper that call the busybox binary. | ||
503 | |||
504 | endchoice | ||
505 | |||
477 | config PREFIX | 506 | config PREFIX |
478 | string "BusyBox installation prefix" | 507 | string "BusyBox installation prefix" |
479 | default "./_install" | 508 | default "./_install" |