#! /bin/sh

#
# Build a new bootstrap package,
# producing openpkg-<date>-<date>.src.sh
#
TOPDIR=openpkg
TOPUSE=openpkg
BASEID=900
time ./openpkg.boot -bs --prefix=/$TOPDIR \
                    --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \
                    --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \
                    --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3 \
                    --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \
                    --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \
                    --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \
                    --use_strip=/$TOPDIR/bin/strip \
                    2>&1 | tee buildquick.log
