diff options
-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 |