diff options
author | P. J. McDermott <pehjota> | 2012-07-27 18:52:31 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-07-27 18:52:31 (EDT) |
commit | f23e696cc7ba0d78966ab4dd1cc6263000bfa3da (patch) | |
tree | 5ae92403d809eeadab1209b86a82c48818b30d0a | |
parent | 89ebbd7d82a123cc6a9122da76e4b304edb36f1e (diff) |
Document PATH modifications.
-rw-r--r-- | dev/multiarch/design.mdwn | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev/multiarch/design.mdwn b/dev/multiarch/design.mdwn index 33341cd..e026abd 100644 --- a/dev/multiarch/design.mdwn +++ b/dev/multiarch/design.mdwn @@ -36,7 +36,8 @@ There are two proposed filesystem hierarchies (see below) to support this. Parts of the toolchain (especially the dynamic linker) need to be configured and/or patched to use multiarch library paths. Additionally, at least the native-architecture executable program directories have to be added to the -`PATH` environment variable. +`PATH` environment variable (set in `libbb/messages.c` and `libbb/libbb.h` in +the BusyBox source as of versions 1.19.3 and 1.20.2). Proposal 1: `/usr` Organized Primarily by Architecture ------------------------------------------------------ @@ -82,6 +83,9 @@ filesystem hierarchy would then look something like this: Note that `/usr/lib` doesn't exist, as no architecture-independent files should be installed there. +BusyBox needs to be patched to set the `PATH` environment variable to +`/sbin:/sbin/native:/usr/sbin:/usr/native/sbin:/bin:/bin/native:/usr/bin:/usr/native/bin`. + Proposal 2: `/usr` Organized Secondarily by Architecture -------------------------------------------------------- @@ -126,6 +130,9 @@ something like this: +- share/ \- src/ +BusyBox needs to be patched to set the `PATH` environment variable to +`/sbin:/sbin/native:/usr/sbin:/usr/sbin/native:/bin:/bin/native:/usr/bin:/usr/bin/native`. + Control Information =================== |