<p>No need to call edit_dwarf2() if debugedit is invoked just to extract<br>
build-id (with <code>-i -n'). Otherwise, we will get </code>DWARF version 0<br>
unhandled' warning for compressed .debug files:</p>
<p>/usr/lib/rpm/debugedit: ./usr/lib/debug/...e.ko.debug: DWARF version 0 unhandled</p>
<p>Context: We have kernel modules elfcompressed in ALT.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ldv-alt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ldv-alt">@ldv-alt</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1435'>https://github.com/rpm-software-management/rpm/pull/1435</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>debugedit: Do not 'edit_dwarf2' when just extracting build-id</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1435/files#diff-2eb834a65f3ec763458a58cf73b33d81bd664f3f8f32f8a99fbafa625970003b">tools/debugedit.c</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1435.patch'>https://github.com/rpm-software-management/rpm/pull/1435.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1435.diff'>https://github.com/rpm-software-management/rpm/pull/1435.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1435">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUZ3JSZODYFUJHAFCHTSP7VQNANCNFSM4TWHZGEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU5MEDXPUMC5DM2NWKLSP7VQNA5CNFSM4TWHZGE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LCNP5AA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1435",
"url": "https://github.com/rpm-software-management/rpm/pull/1435",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>