openpkg/buildquick.sh

Tue, 29 Mar 2011 19:46:35 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 29 Mar 2011 19:46:35 +0200
changeset 333
4ecfc2416fd8
parent 251
5e1bf50b6e48
child 345
b7180006bcf1
permissions
-rw-r--r--

Correct and introduce slightly needed logic, leading to better reliability:
Update bash(1) patch logic, correct several buildconf make location
errors, correct failed bash(1) configure invocation, enable perl(1) to
build with unpathed make(1), patch rpm(1) to correctly link with
internal libdb(3), and lastly unsuscessfully try to reorganize rpm patch
hunks.

     1 #! /bin/sh
     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 -bs --prefix=/$TOPDIR \
    11                     --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \
    12                     --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \
    13                     --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3
    14                     --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \
    15                     --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \
    16                     --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \
    17                     --use_strip=/$TOPDIR/bin/strip \
    18                     2>&1 | tee buildlog.txt

mercurial