[Pbuilder-maint] Bug#272354: pbuilder: please add security archives

martin f krafft madduck at debian.org
Fri Nov 17 15:15:25 CET 2006


also sprach Loïc Minier <lool at dooz.org> [2006.10.22.1540 +0200]:
>  I have a workaround for a similar problem: adding the sid archive to
>  my experimental pbuilder's sources.list.  It's a shell snippet which I
>  put directly in my pbuilderrc, but it might be included in pbuilder
>  itself if found useful; here's my ~/.pbuilder/experimental.pbuilderrc:
> 
> # set the dist name
> DISTRIBUTION="experimental"
> 
> # source common Debian options
> . $HOME/.pbuilder/debian-common.pbuilderrc
> 
> # add sid to the APT configuration
> if ! grep -qw sid "$APTCONFDIR/sources.list"; then
>     cat >> "$APTCONFDIR/sources.list" <<EOF
> 
> # sid
> deb     $MIRRORSITE sid main
> deb-src $MIRRORSITE sid main
> EOF
> fi
> 
> # switch back to sid because of the debootstrapping process
> DISTRIBUTION="sid"

I have no idea how this is supposed to add the experimental archive
to the APT sources.list...

Also, I am well aware that I can hack stuff with pbuilderrc. I am
trying to avoid that. I think the security archives should be added
to a stable or testing chroot by default simply because they are
rather helpful.

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20061117/b2666557/attachment.pgp


More information about the Pbuilder-maint mailing list