mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-24 14:57:35 +08:00
Adding pbuilder-dist hard link error workaround (upload to launchpad still broken).
This commit is contained in:
parent
7824b17b6d
commit
ea05cf465b
2 changed files with 15 additions and 7 deletions
2
dist/ubuntu-make-all-distros.sh
vendored
2
dist/ubuntu-make-all-distros.sh
vendored
|
@ -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}"
|
||||
|
|
20
dist/ubuntu-make-distro.sh
vendored
20
dist/ubuntu-make-distro.sh
vendored
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue