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 other problems (like some utilites doesn't follow symbolic links,
etc.)
Small patch attached.
--
Carles Pina i Estany
http://pinux.info
=== modified file 'util/grub-mkrescue.in'
--- util/grub-mkrescue.in 2009-11-14 18:38:11 +0000
+++ util/grub-mkrescue.in 2009-11-19 22:17:36 +0000
@@ -121,7 +121,7 @@
if [ "${source}" != "" ] ; then
for d in ${source}; do
echo "Processing $d"
- cp -dpRl "${d}" ${iso9660_dir}/
+ cp -dpR "${d}" ${iso9660_dir}/
done
fi
2009-11-19 Carles Pina i Estany <[email protected]>
* util/grub-mkrescue.in: copies the files instead of hard linking
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel