Changeset 3c9eb90 for builder/runrooted


Ignore:
Timestamp:
05/28/20 15:12:44 (5 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master
Children:
30f002a
Parents:
eb67240
Message:

buildroot fixes. libreswan update to 3.32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder/runrooted

    reb67240 r3c9eb90  
    1010# opnieuw gemaakt.
    1111
     12if ! which tar-1.13 >/dev/null; then
     13    echo "Missing tar-1.13. Please copy ../npl/slackware/tar-1.13 to /bin. "
     14    exit 1
     15fi
     16
     17if ! which installpkg >/dev/null; then
     18    echo "Missing pkgtools. Please copy binaries from  ../npl/slackware/pkgtools-10.0.0-i486-1.tgz to /bin. "
     19    exit 1
     20fi
     21
     22if ! which lockfile-create > /dev/null; then
     23    echo "Need lockfile-create. "
     24    exit 1
     25fi
    1226
    1327if [ -z $1 ]; then
     
    2438for PAR in $*; do eval "$PAR=1" &>/dev/null; done
    2539
     40#create/mount builroot
     41if ! grep buildroots /proc/mounts >/dev/null; then
     42    mkdir /tmp/buildroots
     43    mount -t tmpfs tmpfs /tmp/buildroots
     44fi
     45export TMP=/tmp/buildroots
     46
     47export MAKEFLAGS="-j10 $MAKEFLAGS"
     48
    2649#unieke identifier voor deze lokale checkout. Op dit moment gebruiken we hier het lokale pad voor:
    2750SVNID=`pwd|tr / _`
    2851
    29 export ROOTCOPY=/tmp/buildroot.copy.$SVNID
     52export ROOTCOPY=$TMP/buildroot.copy.$SVNID
    3053
    3154#bepaal welke buildroot 'vrij' is om te gebruiken
    3255NR=0
    33 export BUILDROOT=/tmp/buildroot$NR.$SVNID
     56export BUILDROOT=$TMP/buildroot$NR.$SVNID
    3457while ! lockfile-create -r0 $BUILDROOT ; do
    3558        (( NR++ ))
    36         BUILDROOT=/tmp/buildroot$NR.$SVNID
     59        BUILDROOT=$TMP/buildroot$NR.$SVNID
    3760        if [ "$NR" -ge 10 ]; then
    3861                echo "No more free buildroots, giving up."
     
    6386#ivm snelheid
    6487#echo "Buildroot opschonen.."
    65 #rm -rf $BUILDROOT/tmp/* &>/dev/null
     88#rm -rf $BUILDROOT$TMP/* &>/dev/null
    6689
    6790
Note: See TracChangeset for help on using the changeset viewer.