Re: grub-mkrescue and hard links

2009-11-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: On Thu, Nov 19, 2009 at 10:22:57PM +, Carles Pina i Estany wrote: Hello, grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin and destination directories are in different file systems this fails. One of the purposes of grub-mkrescue is

Re: grub-mkrescue and hard links

2009-11-21 Thread Robert Millan
On Sat, Nov 21, 2009 at 01:54:36AM +, Carles Pina i Estany wrote: Find attached a second patch that lets the user to specify where the utilities are. Committed, with some adjustments. Notably, I unified both options into a single one, and (intentionally) left it undocumented. You can

Re: grub-mkrescue and hard links

2009-11-21 Thread Robert Millan
On Sat, Nov 21, 2009 at 11:50:51AM +, Carles Pina i Estany wrote: Hello, On Nov/21/2009, Vladimir '??-coder/phcoder' Serbinenko wrote: On a side note: when I did: ./grub-mkrescue -o grub.iso overlay it added a directory named overlay to iso. E.g: I had a folder overlay/boot

Re: grub-mkrescue and hard links

2009-11-20 Thread Robert Millan
On Thu, Nov 19, 2009 at 10:22:57PM +, Carles Pina i Estany wrote: Hello, grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin and destination directories are in different file systems this fails. One of the purposes of grub-mkrescue is to generate images that are

grub-mkrescue and hard links

2009-11-19 Thread Carles Pina i Estany
Hello, grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin and destination directories are in different file systems this fails. We could do a symbolic link (-s), detect if it's in the same device, etc. but I think that just copying is enough and this optimization could have