summaryrefslogtreecommitdiff
path: root/root_image
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2018-05-14 16:35:44 -0400
committerKent Overstreet <kmo@daterainc.com>2018-05-14 16:35:44 -0400
commite65a1929a97330d27d46416ec642971399cae27c (patch)
tree727f96f635a99ebaa870b3ff211089623f16f612 /root_image
parent197dd8c55ae8807585a43f39e50c96cf6bc98d1f (diff)
Extensive refactoring, fixes
in particular: foreign architecture support works again (at least for mips)
Diffstat (limited to 'root_image')
-rwxr-xr-xroot_image4
1 files changed, 2 insertions, 2 deletions
diff --git a/root_image b/root_image
index c4d0842..48cc5dc 100755
--- a/root_image
+++ b/root_image
@@ -53,7 +53,7 @@ while getopts "ha:m:i:" arg; do
exit 0
;;
a)
- ARCH=$OPTARG
+ ktest_arch=$OPTARG
;;
m)
MIRROR=$OPTARG
@@ -65,7 +65,7 @@ while getopts "ha:m:i:" arg; do
done
shift $(( OPTIND - 1 ))
-parse_arch "$ARCH"
+parse_arch "$ktest_arch"
[[ -z $ktest_image ]] && ktest_image=/var/lib/ktest/root.$DEBIAN_ARCH