diff options
-rwxr-xr-x | bootstrap-stage1-install.sh | 15 |
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 "${@}" |