[Pbuilder-maint] Bug#432277: $HOME/.pbuilderrc example for use in using multiple pbuilder setups

Michelle Konzack linux4michelle at freenet.de
Thu Jul 19 17:26:05 UTC 2007


############################################################
#  ATTENTION:  I am currently NOT in Strasbourg because I  #
#              have the last 3 weeks of my military        #
#              service and can not reply in short delays.  #
############################################################


Am 2007-07-08 23:46:26, schrieb Andres Mejia:
> Package: pbuilder
> Version: 0.170
> 
> Someone wrote an alternate way of setting up and using multiple
> pbuilder setups over at
> https://wiki.ubuntu.com/PbuilderHowto#head-1be378ab60d3bab23eefabce49cf7df927d46f81
> 
> The basics are setting up $HOME/.pbuilderrc to look like:
> 
> if (( ${#DIST} > 0 )); then

This line looks a little bit weird...
What about:

   if [ -n "${DIST}" ] ; then

which would be more POSIX compatible.

>        BASETGZ="`dirname $BASETGZ`/$DIST-base.tgz"
>        DISTRIBUTION="$DIST"
>        BUILDRESULT="/var/cache/pbuilder/$DIST/result/"
>        APTCACHE="/var/cache/pbuilder/$DIST/aptcache/"
> fi
> 
> Then to use the setups, assign "DIST" with any supported distribution
> name and run pbuilder or pdebuild.
> 
> I've attached a document that could be distributed with pbuilder that
> explains this.
> 
> -- 
> Regards,
> Andres Mejia
------------------------- END OF REPLIED MESSAGE -------------------------


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20070719/630fa23f/attachment.pgp 


More information about the Pbuilder-maint mailing list