|
1 #! /bin/sh |
|
2 |
|
3 # |
|
4 # Build a new bootstrap package, |
|
5 # producing openpkg-<date>-<date>.src.sh |
|
6 # |
|
7 TOPDIR=opkg |
|
8 TOPUSE=opkg |
|
9 BASEID=200 |
|
10 time ./openpkg.boot --prefix=/$TOPDIR --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \ |
|
11 --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \ |
|
12 --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3 |
|
13 --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \ |
|
14 --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \ |
|
15 --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \ |
|
16 --use_strip=/$TOPDIR/bin/strip \ |
|
17 2>&1 | tee buildlog.txt |