[Bug 9786] New: [RFC] patch, ash: look for internal applets as last resource to find and execute a command

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 28 06:59:59 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=9786

            Bug ID: 9786
           Summary: [RFC] patch, ash: look for internal applets as last
                    resource to find and execute a command
           Product: Busybox
           Version: 1.22.x
          Hardware: All
                OS: Linux
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: jordipujolp at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 6966
  --> https://bugs.busybox.net/attachment.cgi?id=6966&action=edit
look for internal applets as last resource to find and execute a command

This patch is an enhancement for ash, it will look for internal applets as last
resource to find and execute a command.
Even more, lets the user control the order of looking for internal commands by
changing the PATH.
The user can specify the preference of internal applets by including a
directory named %applet in the environment PATH.
In example, busybox will act like if FEATURE_SH_STANDALONE was enabled when
setting PATH to this value:
      export PATH=%applet:/sbin:/usr/sbin:/bin:/usr/bin
Another example, use only internal applets and don't search in PATH:
      export PATH=""

Maybe applying this patch will make unnecessary the FEATURE_SH_STANDALONE and
neither the package busybox-static.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list