Changeset 14401


Ignore:
Timestamp:
Oct 4, 2005, 6:39:27 AM (15 years ago)
Author:
jkh
Message:

Better RPM support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/portmgr/buildall.sh

    r13209 r14401  
    1313
    1414# Some conservative (and large) defaults.
    15 BASE_PADDING=8000000
     15BASE_PADDING=16000000
    1616DPORTSCACHE_SIZE=32767M
    1717
     
    145145# main:  This is where we start the show.
    146146TGTPORTS=""
    147 PKGTYPE=mpkg
     147PKGTYPE=rpmpackage
    148148
    149149if [ $# -lt 1 ]; then
     
    201201        echo "mkdir -p /Package" >> $DIR/bootstrap.sh
    202202        echo "rm -f /tmp/success" >> $DIR/bootstrap.sh
    203         echo "if port -t -v $PKGTYPE $pkg package.destpath=/Package >& /tmp/$pkg.log; then touch /tmp/success; fi" >> $DIR/bootstrap.sh
     203        echo "if port -v $PKGTYPE $pkg package.destpath=/Package >& /tmp/$pkg.log; then touch /tmp/success; fi" >> $DIR/bootstrap.sh
    204204        echo 'umount -f /.vol || (echo "unable to umount volfs"; exit 1)' >> $DIR/bootstrap.sh
    205205        echo "exit 0" >> $DIR/bootstrap.sh
     
    213213                if [ "$PKGTYPE" = "mpkg" ]; then
    214214                    mv $DIR/Package/*.mpkg outputdir/Packages/
     215                elif [ "$PKGTYPE" = "rpmpackage" ]; then
     216                    mv $DIR/Package/RPMS/ppc/*.rpm outputdir/Packages/
    215217                elif [ "$PKGTYPE" = "dpkg" ]; then
    216218                    mv $DIR/Package/*.deb outputdir/Packages/
Note: See TracChangeset for help on using the changeset viewer.