summaryrefslogtreecommitdiffstats
path: root/bootstrap-stage1-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-stage1-install.sh')
-rwxr-xr-xbootstrap-stage1-install.sh14
1 files changed, 7 insertions, 7 deletions
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-*)