summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dev/multiarch/design.mdwn9
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
===================