summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-24 15:26:43 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-24 15:26:43 (EDT)
commitdef9939000b6bd1fece8a6c1c3c0f08f9b7b9429 (patch)
tree00c037588d01f94c2678d5562f9969629ab90975
parentbc8ccc0f68494912d515a30f662d7afc3e76108e (diff)
install_system(): Take ${foreign} argument
-rw-r--r--lib/cmd/install.sh2
-rw-r--r--lib/install.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 879156e..ef834af 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -76,7 +76,7 @@ cmd_install_main()
install_system "${cmd_install_opt_m-}" "${suite}" \
"${cmd_install_opt_a-}" "${cmd_install_opt_p-}" \
- "${chroot}"
+ "${chroot}" "${foreign}"
if [ "x${dev}" != 'x' ]; then
block_umount "${chroot}"
diff --git a/lib/install.sh b/lib/install.sh
index 21df480..9d67995 100644
--- a/lib/install.sh
+++ b/lib/install.sh
@@ -39,6 +39,7 @@ install_system()
local arch="${3}"
local plat="${4}"
local chroot="${5}"
+ local foreign="${6}"
if [ "x${arch}" = 'x' ]; then
arch="$(profile_detect_arch)"