Re: [PATCH] Fix build failure when retrying build at deconfiguring file /bin/hostname

2009-09-01 Thread Daniel Baumann
Cody A.W. Somerville wrote: > So, I've created a patch to have > lh_chroot_hostname look to see if 'chroot/bin/hostname.orig' exists > before attempting to move it to 'chroot/bin/hostname'. the test -s is overly strict. as there's nothing that would create hostname.orig in the first place, except

Re: [PATCH] Fix build failure when retrying build at deconfiguring file /bin/hostname

2009-08-28 Thread Cody A.W. Somerville
I forgot to include the patch, oops. On Fri, Aug 28, 2009 at 4:41 AM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > If you attempt a build and it fails for whatever reasons (say, a > configuration issue) and then you retry your build without calling lh_clean, > you ca

[PATCH] Fix build failure when retrying build at deconfiguring file /bin/hostname

2009-08-28 Thread Cody A.W. Somerville
Hello, If you attempt a build and it fails for whatever reasons (say, a configuration issue) and then you retry your build without calling lh_clean, you can sometimes run into an issue with the 'deconfiguring file /bin/hostname' step. It'll try to move chroot/bin/hostname.orig to chroot/bin/hostn