From 90c2512a3c0a8ee7d0503c86b7902145b03b9e46 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Jul 2013 18:02:58 -0400 Subject: Change name of stage1 file system root. --- (limited to 'bootstrap-stage1-install.sh') diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh index a870495..0772fc7 100755 --- a/bootstrap-stage1-install.sh +++ b/bootstrap-stage1-install.sh @@ -60,9 +60,9 @@ install_packages() { local opk pkg - [ -d root ] && rm -Rf root - mkdir root - cd root + rm -Rf root1 + mkdir root1 + cd root1 for opk in ../pkg/*_${ARCH}_${PLAT}.opk ../pkg/*_${ARCH}_all.opk \ ../pkg/*_all_${PLAT}.opk ../pkg/*_all_all.opk; do @@ -79,7 +79,7 @@ install_elf_interp_link() { local elf_interp - cd root + cd root1 elf_interp="$(readelf -l bin/busybox | sed -n \ 's|^.*\[Requesting program interpreter: /\(.*\)\].*$|\1|p')" @@ -94,7 +94,7 @@ install_archplat_sysconf() # TODO: The config-opkg package should provide these, but it isn't built # and installed here yet. - cd root + cd root1 mkdir -p etc printf '%s\n' "${ARCH}" >etc/proteanos_arch @@ -110,7 +110,7 @@ configure_packages() { local opk pkg entry file - cd root + cd root1 info='var/lib/opkg/info' mkdir -p "${info}" @@ -144,7 +144,7 @@ configure_packages() setup_root() { - cd root + cd root1 case "${ARCH}" in *-linux-*) -- cgit v0.9.1