On Thu, 2011-01-20 at 23:51 +0200, Andrew wrote:
> Hi all.
> I tried to use buildimage to assemble my compiled earlier distro - and I 
> saw that it's crashed when no .lwp files is available:
> 
> # ./buildimage.pl --image=Bering-uClibc_i686_isolinux_vga --relver=4.0beta1
> cp: cannot stat `/var/testpoint/LEAF/buildtool/package/*.lwp': No such 
> file or directory
> Failed to copy files: No such file or directory No such file or 
> directory at ./buildimage.pl line 273
>          main::system_exec('cp -r 
> /var/testpoint/LEAF/buildtool/package/*.lwp /tmp/BUILDI...', 'Failed to 
> copy files: No such file or directory') called at ./buildimage.pl line 306
>          main::copyFilesToTempDir('package/*.lwp', '/') called at 
> ./buildimage.pl line 189
> 
> IMHO .lwp files aren't so necessary, they are optional components - so 
> possible it'll be good to add handling for that situation in future? Or 
> even add warning instead of buildimage termination if some file is missed?

[Replying to the leaf-devel list because this seems like more of a
-devel question.]

Hi Andrew,

There is no "special" handling of different files types in
buildimage.pl. We could certainly make the script ignore such a failure
and carry on, probably with a warning message, but it would do that for
all file types (unless we add a special check for .lwp files in the
error handling...)

I will look at the script tomorrow and make some improvements.

dMb




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to