Comment 3 for bug 948191

Revision history for this message
Richard Hansen (rhansen) wrote :

I agree with Graeme. I was unpleasantly surprised to see that prevu was abandoned without transition documentation.

A rough version of the info that should go in the documentation, should someone ever create it:

Package signing is no longer required in ubuntu-dev-tools 0.142; see bug #992739. If you are using an older version, you can add the following line to your ~/.devscripts file and then backport the latest ubuntu-dev-tools:
    DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc"

To create a build chroot, run:
    pbuilder --create
(my .pbuilderrc is heavily customized; others may need to pass options to pbuilder to get it to do what they want)

I use the following command to backport a package:
    backportpackage -b -U -w . <package>

To make a local repo, run:
    cd buildresult
    dpkg-scanpackages . >Packages

To add the local repository to your apt sources:
    echo "deb file:$(pwd) ./ #locally backported packages" |
    sudo tee /etc/apt/sources.list.d/localbackports.list