diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-02 13:37:43 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-02 13:37:43 (EDT) |
commit | 35a74c739eedd275c25b409b4376ff3bbf734804 (patch) | |
tree | 322f37afb87a49a67fb487960980bc91a5feba1d | |
parent | 604965c361530521c8f5294209ae8e4914ef71e8 (diff) |
bootstrap-stage1-install.sh: Properly mount stuff.
-rwxr-xr-x | bootstrap-stage1-install.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh index bfc7a0f..a870495 100755 --- a/bootstrap-stage1-install.sh +++ b/bootstrap-stage1-install.sh @@ -146,8 +146,14 @@ setup_root() { cd root - mkdir -p dev - >dev/null + case "${ARCH}" in + *-linux-*) + mkdir -p proc sys dev + sudo mount -t proc proc proc + sudo mount -t sysfs sys sys + sudo mount -o bind /dev dev + ;; + esac # TODO: base-files will eventually handle this. mkdir -p tmp |