Skip to contentSkip to conversation

xsplice: should we use realpath or readlink in xsplice-build?

DISCUSSION Dongli Zhang 2 participants 2 messages May 27, 2016

lore
Share & tools
lore
#0 lore raw

Hi Ross and Konrad,

I played xsplice with a sample patch I wrote. It works and really fantastic work!

I use the utility from
git://xenbits.xen.org/people/konradwilk/xsplice-build-tools.git

However, the 'realpath -m' command in file 'xsplice-build' work on neither my Ubuntu or Oracle Linuxi (no -m option). It works well after I replace all 'realpath' with 'readlink'. The patch elf was generated successfully and could be uploaded and applied.

I am not sure if this is the issue with my OS configuration or we should better use 'readlink'. Since this is the new git repo, I am not sure if I could submit this patch to xen-devel if a patch is helpful.

Thank you very much!

Best,

Dongli Zhang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · Dongli Zhang

Hi Ross and Konrad,

Heya!

Quoted 7 lines

I played xsplice with a sample patch I wrote. It works and really fantastic work!

I use the utility from
git://xenbits.xen.org/people/konradwilk/xsplice-build-tools.git

Quoted 8 lines

However, the 'realpath -m' command in file 'xsplice-build' work on neither my Ubuntu or Oracle Linuxi (no -m option). It works well after I replace all 'realpath' with 'readlink'. The patch elf was generated successfully and could be uploaded and applied.

I am not sure if this is the issue with my OS configuration or we should better use 'readlink'. Since this is the new git repo, I am not sure if I could submit this patch to xen-devel if a patch is helpful.

Go for it! (Aka submit the patch pls)

Quoted 8 lines

Thank you very much!

Best,

Dongli Zhang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel