From 35a74c739eedd275c25b409b4376ff3bbf734804 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Jul 2013 13:37:43 -0400 Subject: bootstrap-stage1-install.sh: Properly mount stuff. --- 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 -- cgit v0.9.1