summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)"