contrib/packaging/dockerdeb
changeset 45968 971424517e17
parent 45966 f6a1540dc572
equal deleted inserted replaced
45967:d9a05b11904d 45968:971424517e17
    10 PLATFORM="$1-$2"
    10 PLATFORM="$1-$2"
    11 shift; shift # extra params are passed to build process
    11 shift; shift # extra params are passed to build process
    12 
    12 
    13 OUTPUTDIR=${OUTPUTDIR:=$ROOTDIR/packages/$PLATFORM}
    13 OUTPUTDIR=${OUTPUTDIR:=$ROOTDIR/packages/$PLATFORM}
    14 CONTAINER=hg-docker-$PLATFORM
    14 CONTAINER=hg-docker-$PLATFORM
       
    15 TZ=`ls -la /etc/localtime | cut -d/ -f7-9`
    15 
    16 
    16 DOCKER=$($BUILDDIR/hg-docker docker-path)
    17 DOCKER=$($BUILDDIR/hg-docker docker-path)
    17 
    18 
    18 $BUILDDIR/hg-docker build \
    19 $BUILDDIR/hg-docker build \
       
    20     --build-arg TZ=$TZ \
    19     --build-arg CODENAME=$CODENAME \
    21     --build-arg CODENAME=$CODENAME \
    20     $BUILDDIR/docker/$DISTID.template \
    22     $BUILDDIR/docker/$DISTID.template \
    21     $CONTAINER
    23     $CONTAINER
    22 
    24 
    23 # debuild only appears to be able to save built debs etc to .., so we
    25 # debuild only appears to be able to save built debs etc to .., so we