if [ `echo "$r"|wc -l` -ge 2 ];then break;fi
if [ -n "$r" ];then
echo "$RPMS_URL_BASE/Fedora/RPMS/$r"
- return
+ if [ "$arch" != ppc64 ];then
+ return
+ fi
fi
done
echo >&2 "ERROR: $1"
trap 'rm -rf $DOWNLOAD $KEY' EXIT
mkdir $DOWNLOAD
cd $DOWNLOAD
-wget `set +x;while read -r line;do pkg $line;done <<EOH
+wget `set +x;while read -r line;do if [ -n "$line" ];then pkg $line;fi;done <<EOH
coreutils
rpm
bash
mcstrans
libcap
kpartx
+$(if [ $uname_i = ppc ];then echo ppc64-utils;fi)
+$(if [ $uname_i = ppc ];then echo yaboot ;fi)
+perl
+binutils
+hfsutils
+tcl
EOH
`
mkdir -p $ROOT/var/lock/rpm
gmp
libxml2
elfutils
-binutils
python-elementtree
python-sqlite
python-urlgrabber