https://sourceware.org/bugzilla/show_bug.cgi?id=33693

--- Comment #3 from Sam James <sam at gentoo dot org> ---
(In reply to Sam James from comment #1)
> Just this is enough to get rolling (bikeshedding on option etc later):
> [...]
> 
> but inside of the image directory, paths *start with* image/:
> [...]

... meaning that with the above patch, we get:

```
$ debuginfod-find metadata glob '/image/usr/bin/hello*'
{
  "results":[
    {
      "type":"executable",
      "buildid":"432da77b170ab53ff9412b2ff65938ce7333e0de",
      "file":"/image/usr/bin/hello",
      "archive":"/var/cache/binpkgs/app-misc/hello/hello-2.12.2-1.gpkg.tar"
    }
  ],
  "complete":true
```

(i.e. undesirable need to specify /image/, and /image/ in `file`).

TL;DR: How should I implement such prefix stripping?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to