see attached helper scripts base on scripts provided with pbuilder.

cheers,

Fathi