summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating at redhat dot com>2007-07-30 12:55:03 -0400
committerJesse Keating <jkeating at redhat dot com>2007-07-30 12:55:03 -0400
commitb076a6e81ed69d95cd248aff54432e4589788456 (patch)
treee2514f3ee8ae8dbc1e6315819809309624322b67
parent907ce7e434ffddb6e8a4ca9ad8f91faaa86e3ce5 (diff)
downloadreleng-b076a6e81ed69d95cd248aff54432e4589788456.tar.gz
releng-b076a6e81ed69d95cd248aff54432e4589788456.tar.xz
releng-b076a6e81ed69d95cd248aff54432e4589788456.zip
Need to call mock with setarch when doing pungi stuff. *sigh*
-rwxr-xr-xscripts/pungify2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pungify b/scripts/pungify
index 52215a2..dceb0e7 100755
--- a/scripts/pungify
+++ b/scripts/pungify
@@ -26,7 +26,7 @@ su mock -c "ssh $HOST /bin/bash --" << EOF
mock -r fedora-devel-$ARCH-core --uniqueext=$TREE init || exit 1
/usr/sbin/mock-helper yum --installroot /var/lib/mock/fedora-development-$ARCH-core-$TREE/root install pungi nfs-utils setarch || exit 1
cp /etc/resolv.conf /var/lib/mock/fedora-development-$ARCH-core-$TREE/root/tmp
- mock -r fedora-devel-$ARCH-core --uniqueext=$TREE shell -- << EEE
+ setarch $ARCH mock -r fedora-devel-$ARCH-core --uniqueext=$TREE shell -- << EEE
set -x
cp /tmp/resolv.conf /etc/
mkdir -p /tmp/treebuild.$TREE/{output,cache,development}