summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-19 21:19:12 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-19 21:19:12 (EDT)
commitb6391cae70b14c4401b3d1730481b1992fe945f0 (patch)
tree1d6ed7e447b1aa898f71f3a3efe4c5a3e2b8a122
parent07705c41b74eda15a8207e9969a1fa5e8bcc79a9 (diff)
bootstrap-stage1-install.sh: Make /dev/null, /tmp.
-rwxr-xr-xbootstrap-stage1-install.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh
index f4d242f..bfc7a0f 100755
--- a/bootstrap-stage1-install.sh
+++ b/bootstrap-stage1-install.sh
@@ -39,6 +39,7 @@ main()
install_elf_interp_link
install_archplat_sysconf
configure_packages
+ setup_root
}
log()
@@ -141,4 +142,18 @@ configure_packages()
cd ..
}
+setup_root()
+{
+ cd root
+
+ mkdir -p dev
+ >dev/null
+
+ # TODO: base-files will eventually handle this.
+ mkdir -p tmp
+ chmod 1775 tmp
+
+ cd ..
+}
+
main "${@}"