File dist/ubuntu-make-distro.sh changed (mode: 100755) (index 82d7298..4592844) |
6 |
6 |
# |
# |
7 |
7 |
|
|
8 |
8 |
export UBUNTUVERSION=$1 |
export UBUNTUVERSION=$1 |
|
9 |
|
## https://wiki.ubuntu.com/Releases |
|
10 |
|
#export UBUNTUVERSION=precise |
|
11 |
|
#export UBUNTUVERSION=quantal |
|
12 |
|
#export UBUNTUVERSION=saucy |
|
13 |
|
#export UBUNTUVERSION=trusty |
9 |
14 |
export HHVERSION=$2 |
export HHVERSION=$2 |
10 |
15 |
export HHBZRMSG=$3 |
export HHBZRMSG=$3 |
11 |
16 |
|
|
|
... |
... |
export HHRELEASE=hh_${HHFULLVERSION} |
15 |
20 |
export HHSRC=/home/dvorka/p/hstr/github/hstr |
export HHSRC=/home/dvorka/p/hstr/github/hstr |
16 |
21 |
export NOW=`date +%Y-%m-%d--%H-%M-%S` |
export NOW=`date +%Y-%m-%d--%H-%M-%S` |
17 |
22 |
export HHBUILD=hstr-${NOW} |
export HHBUILD=hstr-${NOW} |
18 |
|
## https://wiki.ubuntu.com/Releases |
|
19 |
|
#export UBUNTUVERSION=precise |
|
20 |
|
#export UBUNTUVERSION=quantal |
|
21 |
|
#export UBUNTUVERSION=saucy |
|
22 |
|
#export UBUNTUVERSION=trusty |
|
23 |
23 |
|
|
24 |
24 |
# checkout hh from bazaar and make hstr ################################ |
# checkout hh from bazaar and make hstr ################################ |
25 |
25 |
|
|
|
... |
... |
createTarball |
105 |
105 |
bzr builddeb -- -us -uc |
bzr builddeb -- -us -uc |
106 |
106 |
bzr builddeb -S |
bzr builddeb -S |
107 |
107 |
cd ../build-area |
cd ../build-area |
|
108 |
|
|
|
109 |
|
|
|
110 |
|
echo -e "\n_ hh pbuilder-dist build _______________________________________________\n" |
|
111 |
|
# BEGIN: bug workaround - pbuilder's caches in /var and /home must be on same physical drive |
|
112 |
|
export PBUILDFOLDER=/tmp/hh-tmp |
|
113 |
|
rm -rvf ${PBUILDFOLDER} |
|
114 |
|
mkdir -p ${PBUILDFOLDER} |
|
115 |
|
cp -rvf ~/pbuilder/*.tgz ${PBUILDFOLDER} |
|
116 |
|
# END |
108 |
117 |
pbuilder-dist ${UBUNTUVERSION} build ${HHRELEASE}.dsc |
pbuilder-dist ${UBUNTUVERSION} build ${HHRELEASE}.dsc |
109 |
118 |
|
|
110 |
119 |
# push .deb to Launchpad ######################################################## |
# push .deb to Launchpad ######################################################## |
111 |
|
#./3-ubuntu-push-deb.sh |
|
112 |
120 |
|
|
113 |
121 |
# from buildarea/ to ./dist |
# from buildarea/ to ./dist |
114 |
122 |
cd ../${HH} |
cd ../${HH} |