summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_grub1
-rwxr-xr-xhelpers/lh_binary_syslinux1
-rwxr-xr-xhelpers/lh_binary_yaboot1
-rwxr-xr-xhelpers/lh_bootstrap_cache3
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap3
-rwxr-xr-xhelpers/lh_bootstrap_copy3
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap3
7 files changed, 15 insertions, 0 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index 4bb5f7dd6..9ba328660 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -57,6 +57,7 @@ Create_lockfile .lock
# Check architecture
Check_architecture amd64 i386
+Check_crossarchitecture
# Checking depends
Check_package chroot/usr/sbin/grub grub
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 8c6887fb2..3af3790f3 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -57,6 +57,7 @@ Create_lockfile .lock
# Check architecture
Check_architecture amd64 i386
+Check_crossarchitecture
# Checking depends
Check_package chroot/usr/bin/syslinux syslinux
diff --git a/helpers/lh_binary_yaboot b/helpers/lh_binary_yaboot
index e3f8df3ee..8cffb3f7c 100755
--- a/helpers/lh_binary_yaboot
+++ b/helpers/lh_binary_yaboot
@@ -57,6 +57,7 @@ Create_lockfile .lock
# Check architecture
Check_architecture powerpc ppc64
+Check_crossarchitecture
# Checking depends
Check_package chroot/usr/lib/yaboot/yaboot yaboot
diff --git a/helpers/lh_bootstrap_cache b/helpers/lh_bootstrap_cache
index 66f57c203..4efeba398 100755
--- a/helpers/lh_bootstrap_cache
+++ b/helpers/lh_bootstrap_cache
@@ -33,6 +33,9 @@ Read_conffile config/source
Read_conffile "${LH_CONFIG}"
Set_defaults
+# Check architecture
+Check_crossarchitecture
+
Echo_message "Begin caching bootstrap stage..."
for STAGE in ${LH_CACHE_STAGES}
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
diff --git a/helpers/lh_bootstrap_copy b/helpers/lh_bootstrap_copy
index 1f48c7f76..518069f3d 100755
--- a/helpers/lh_bootstrap_copy
+++ b/helpers/lh_bootstrap_copy
@@ -38,6 +38,9 @@ then
exit 0
fi
+# Check architecture
+Check_crossarchitecture
+
Echo_message "Begin bootstrapping system..."
# Ensure that a system is built as root
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index 3be396800..c25b37928 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -38,6 +38,9 @@ then
exit 0
fi
+# Check architecture
+Check_crossarchitecture
+
Echo_message "Begin bootstrapping system..."
Check_package /usr/sbin/debootstrap debootstrap