On Mon, Sep 19, 2016 at 04:17:38PM +0300, Andrei Borzenkov wrote:
> Current GIT should support relative pathnames; this is better
> solution. I had in mind syslinux test, but as you are working on it
> anyway could you look at simply cd'ing into correct directory and
> using relative pathnames everywhere?

I tried, but I'm afraid that doesn't work; grub-syslinux2cfg still calls
grub_canonicalize_file_name on its --root argument, and that produces a
canonicalised absolute pathname, so the output still contains quite a
few absolute paths.  Given that, I think my previous patch is the
simplest approach.

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to