Child pages
  • Adapting PBA to new Debian Release

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PBAO arch|unix|7

...

No Format
cd ~/sources/pba/trunk/pba-helloworld
svn up ..

PBAO="."
# or
PBAO='-o unix'"arch|unix"
# or in phase 2
PBAO="arch|unix|7"

pba-builddeps -i -o ${PBAO}

#pba-instdeps -i -o ${PBAO}

pba-build -u -i -o ${PBAO}

# solve eventual problems

${EDITOR:-vi} debian/changelog debian/control
# or
PBADD=$(ls -1d debian* |grep -v mingw |head -1)
${EDITOR:-vi} debian-unix${PBADD}/changelog debian-unix${PBADD}/control

pba-syncchangelogs

pba-release -u -b pba-spool/ -o ${PBAO} && \
sudo pba-builder -B pba-spool -b pba-results -o ${PBAO} 2>&1 |tee pba-builder.log

# wait for success

sudo rm -rf pba-spool/ pba-results pba-builder.log

svn commit -m "Adding support for new Debian distro ${NEWREL}"

pba-release -o ${PBAO}

Repeat for pba-hellolib-portable (with -o unix).

...