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>2007-10-10 11:39:55 +0200
commitf712678141476a6675168ef967e1676d02a6700b (patch)
treed71abee033e472d3013bb5f35169fb403ff5efd9 /helpers/lh_bootstrap_cdebootstrap
parent687aee76e97c114558dc318af1f52d30fceb7e7e (diff)
downloadvyos-live-build-f712678141476a6675168ef967e1676d02a6700b.tar.gz
vyos-live-build-f712678141476a6675168ef967e1676d02a6700b.zip
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 e2b627be0..616e1959c 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