Adding pbuilder-dist hard link error workaround (upload to launchpad still broken).

This commit is contained in:
Martin Dvorak 2015-01-08 12:16:41 +01:00
parent 7824b17b6d
commit ea05cf465b
2 changed files with 15 additions and 7 deletions

View file

@ -5,7 +5,7 @@ export VERSION=1.15.
export MINOR=1
# precise quantal saucy / precise trusty utopic
for DISTRO in precise trusty
for DISTRO in trusty utopic
do
./ubuntu-make-distro.sh ${DISTRO} ${VERSION}${MINOR} "${HHBZRMSG}"

View file

@ -6,6 +6,11 @@
#
export UBUNTUVERSION=$1
## https://wiki.ubuntu.com/Releases
#export UBUNTUVERSION=precise
#export UBUNTUVERSION=quantal
#export UBUNTUVERSION=saucy
#export UBUNTUVERSION=trusty
export HHVERSION=$2
export HHBZRMSG=$3
@ -15,11 +20,6 @@ export HHRELEASE=hh_${HHFULLVERSION}
export HHSRC=/home/dvorka/p/hstr/github/hstr
export NOW=`date +%Y-%m-%d--%H-%M-%S`
export HHBUILD=hstr-${NOW}
## https://wiki.ubuntu.com/Releases
#export UBUNTUVERSION=precise
#export UBUNTUVERSION=quantal
#export UBUNTUVERSION=saucy
#export UBUNTUVERSION=trusty
# checkout hh from bazaar and make hstr ################################
@ -105,10 +105,18 @@ createTarball
bzr builddeb -- -us -uc
bzr builddeb -S
cd ../build-area
echo -e "\n_ hh pbuilder-dist build _______________________________________________\n"
# BEGIN: bug workaround - pbuilder's caches in /var and /home must be on same physical drive
export PBUILDFOLDER=/tmp/hh-tmp
rm -rvf ${PBUILDFOLDER}
mkdir -p ${PBUILDFOLDER}
cp -rvf ~/pbuilder/*.tgz ${PBUILDFOLDER}
# END
pbuilder-dist ${UBUNTUVERSION} build ${HHRELEASE}.dsc
# push .deb to Launchpad ########################################################
#./3-ubuntu-push-deb.sh
# from buildarea/ to ./dist
cd ../${HH}