summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap-stage1-install.sh14
-rwxr-xr-xbootstrap-stage1-test.sh2
-rw-r--r--bootstrap-stage2-build.sh6
3 files changed, 11 insertions, 11 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-*)
diff --git a/bootstrap-stage1-test.sh b/bootstrap-stage1-test.sh
index fd70591..2f26e21 100755
--- a/bootstrap-stage1-test.sh
+++ b/bootstrap-stage1-test.sh
@@ -54,7 +54,7 @@ test_packages()
{
local zlib_upstream_ver opk
- cd root
+ cd root1
log 'Testing BusyBox...'
sudo chroot . true
diff --git a/bootstrap-stage2-build.sh b/bootstrap-stage2-build.sh
index f2b6673..f9313e3 100644
--- a/bootstrap-stage2-build.sh
+++ b/bootstrap-stage2-build.sh
@@ -48,9 +48,9 @@ log()
build_packages()
{
- cp -p pkg/src-*_src_all.opk root
- sudo chroot root sh -c 'opkg install /src-*_src_all.opk'
- sudo chroot root sh -c 'for dir in /usr/src/*/; do
+ cp -p pkg/src-*_src_all.opk root1
+ sudo chroot root1 sh -c 'opkg install /src-*_src_all.opk'
+ sudo chroot root1 sh -c 'for dir in /usr/src/*/; do
cd "${dir}"
opkbuild -C
done'