From 737d131e5e7a795ef771f987d7b02cbf4fa670d6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 25 Aug 2007 18:25:24 +0000 Subject: support "#!/bin/busybox"-style wrappers. Needed for SELinux. Patch by Yuichi Nakamura --- Config.in | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 24e461eb7..450c4a6d4 100644 --- a/Config.in +++ b/Config.in @@ -465,6 +465,11 @@ config INSTALL_APPLET_HARDLINKS Install applets as hard-links to the busybox binary. This might count on a filesystem with few inodes. +config INSTALL_APPLET_SCRIPT_WRAPPERS + bool "as script wrappers" + help + Install applets as script wrappers that call the busybox binary. + config INSTALL_APPLET_DONT bool "not installed" depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS @@ -474,6 +479,30 @@ config INSTALL_APPLET_DONT endchoice +choice + prompt "/bin/sh applet link" + default INSTALL_SH_APPLET_SYMLINK + depends on INSTALL_APPLET_SCRIPT_WRAPPERS + help + Choose how you install /bin/sh applet link. + +config INSTALL_SH_APPLET_SYMLINK + bool "as soft-link" + help + Install /bin/sh applet as soft-link to the busybox binary. + +config INSTALL_SH_APPLET_HARDLINK + bool "as hard-link" + help + Install /bin/sh applet as hard-link to the busybox binary. + +config INSTALL_SH_APPLET_SCRIPT_WRAPPER + bool "as script wrapper" + help + Install /bin/sh applet as script wrapper that call the busybox binary. + +endchoice + config PREFIX string "BusyBox installation prefix" default "./_install" -- cgit v1.2.3