summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-10 11:39:55 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commit57444bb38b61d318c03f64947c8af49293da9342 (patch)
treed71abee033e472d3013bb5f35169fb403ff5efd9 /helpers/lh_bootstrap_cdebootstrap
parent095cc5f19a4366506a201f5972ed41a29e2f3abb (diff)
downloadlive-build-57444bb38b61d318c03f64947c8af49293da9342.zip
live-build-57444bb38b61d318c03f64947c8af49293da9342.tar.gz
Adding check to fail if a cross build is started (Closes: #444669, #444670).
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index e2b627b..616e195 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -38,6 +38,9 @@ then
exit 0
fi
+# Check architecture
+Check_crossarchitecture
+
Echo_message "Begin bootstrapping system..."
Check_package /usr/bin/cdebootstrap cdebootstrap