forked from u-root/u-root
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide an option to use shellbang, not symlinks, for busybox
Not all kernels support symlinks, and not all file systems on all kernels do. Symlinks are not as portable as we want. For example, a simple u-root on a VFAT file system can not be created. It turns out there is a way to use shellbang files that is as efficient as symlinks and much more portable. Add an option to the busybox builder to generate shellbang files, not symlinks. TODO: update the tests. But this change is known to work on Plan 9. Question: should we just move to shellbang files only, given their more universal nature, or keep it as an option? Signed-off-by: Ronald G. Minnich <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters