From f23e696cc7ba0d78966ab4dd1cc6263000bfa3da Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 27 Jul 2012 18:52:31 -0400 Subject: Document PATH modifications. --- (limited to 'dev/multiarch') 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 =================== -- cgit v0.9.1