[PATCH] Add --dwz-single-file-mode argument for find-debuginfo.sh.

Mark Wielaard mark@klomp.org
Tue Mar 23 14:50:23 GMT 2021


Hi Martin,

On Tue, 2021-03-23 at 15:09 +0100, Martin Liška wrote:
> Sometime it's handy to disable multi-file mode and the patch
> adds option for that: --dwz-single-file-mode.
> 
> It will be used in openSUSE for packages that use baselibs.conf
> mechanism.
> 
> The patch was already approved in rpm pull request:
> https://github.com/rpm-software-management/rpm/pull/1579
> 
> Signed-off-by: Martin Liska <mliska@suse.cz>

The patch didn't fully translate from the rpm git repo to the debugedit
repo, but I figured out how to apply it anyway. I added a "dwz (1)" to
the documentation for -m.

It seems a useful option, so I pushed it.

I think if you do/set this then you can simply not create the .dwz
directory (which would later be removed because empty) and you could in
theory run the dwz instances in parallel with separate dwz invocations.

But note that find-debuginfo.sh isn't fully integrated yet into
debugedit. It still contains various dependencies on rpm, see 
https://sourceware.org/bugzilla/show_bug.cgi?id=27637 it doesn't have
proper --usage/help support and it doesn't have a testsuite yet.

Cheers,

Mark


More information about the Debugedit mailing list