[PATCH v2] libdwfl: resolve all paths relative to sysroot

Aaron Merey amerey@redhat.com
Wed May 28 23:49:33 GMT 2025


Hi Michal,

On Wed, May 28, 2025 at 8:30 AM Michal Sekletar <msekleta@redhat.com> wrote:
>
> I finally got back to this patchset but I am wondering how to address your nitpick. Difference is that in one case $sysroot/usr/bin/bash is an actual binary and in another case it is a symlink. Hence it can't be both at the same time, so I guess you want me to "rewire" things in $sysroot during test runtime, i.e. before testing the other scenario I will turn /usr/bin/bash into absolute symlink to /bin/bash, right?

That's right, we can move the bash binary up one directory level, for
instance, then place a symlink to it in sysroot/usr/bin.

Thanks,
Aaron



More information about the Elfutils-devel mailing list