[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using cow-shell to build a package



Hi,

On Fri, Jul 28, 2006 at 12:27:59PM +0200, Martin Man wrote:
> Hi Bastian,
> 
> Bastian Venthur napsal(a):
> > Hi all,
> > 
> > [snip/]
> > 
> > Is it possible to login to a clean environment with you package, make
> > changes and test until its ready and leave the environment later with no
> > changes made to the environment but the package-tree? Does cow-shell
> > provide this functionality. If yes, how?
> 
> I have no answer to your question, but I did exactly what you describe
> using pbuilder, you can even optimize the process and loop-mount some
> directory to the pbuilder so that you don't loose your changes after you
> tweak rules properly...
> 
> As I think about it, I did set it up in a way that post-build hook in
> pbuilder (or was it pre-build hook?) invoked interactive bash for me,
> and I could continue using modify debian/rules && dpkg-buildpckage right
> from the extracted & patched sources in a pbuilder provided chroot.
It would be nice if you could describe your setup in more detail (or
even provide the hook scripts somewhere). I tried a A00login hookscript
that invokes in interactive bash, but for some reason it exits
immediately when invoked by pbuilder:

 -> user script /var/cache/pbuilder/build//1695/tmp/hooks/A00login finished
 su: Authentication service cannot retrieve authentication info.
 (Ignored)

Thanks in advance,


Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050

Attachment: signature.asc
Description: Digital signature


Reply to: