summaryrefslogtreecommitdiff
path: root/bin/pdebuild-user-mode-linux
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pdebuild-user-mode-linux')
-rwxr-xr-xbin/pdebuild-user-mode-linux1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pdebuild-user-mode-linux b/bin/pdebuild-user-mode-linux
index 6e8f468..42b118b 100755
--- a/bin/pdebuild-user-mode-linux
+++ b/bin/pdebuild-user-mode-linux
@@ -34,6 +34,7 @@ export PBCURRENTCOMMANDLINEOPERATION="pdebuild"
PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p')
PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p')
ARCHITECTURE=${ARCHITECTURE-$(dpkg-architecture -qDEB_HOST_ARCH)}
+DEBOOTSTRAPOPTS="--arch=$ARCHITECTURE"
if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then
if [ ! readlink -f .. ]; then