Skip to content

Commit 84ea49e

Browse files
committed
Build: dispatch Build::Deb queries for .ddeb files
.ddeb is Ubuntu's debug-symbol package extension (dh_strip renames *-dbgsym_*.deb on the Ubuntu vendor). The on-disk format is byte-identical to a regular .deb, so route the file through Build::Deb in both query() and queryhdrmd5() instead of returning undef for .ddeb artifacts. Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
1 parent f21eac3 commit 84ea49e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Build.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ sub query {
13661366
$binname = $binname->[0];
13671367
}
13681368
return Build::Rpm::query($handle, %opts) if $do_rpm && $binname =~ /\.d?rpm$/;
1369-
return Build::Deb::query($handle, %opts) if $do_deb && $binname =~ /\.deb$/;
1369+
return Build::Deb::query($handle, %opts) if $do_deb && $binname =~ /\.d?deb$/;
13701370
return Build::Kiwi::queryiso($handle, %opts) if $do_kiwi && $binname =~ /\.iso$/;
13711371
return Build::Arch::query($handle, %opts) if $do_arch && $binname =~ /\.pkg\.tar(?:\.gz|\.xz|\.zst)?$/;
13721372
return Build::Arch::query($handle, %opts) if $do_arch && $binname =~ /\.arch$/;
@@ -1395,7 +1395,7 @@ sub showquery {
13951395
sub queryhdrmd5 {
13961396
my ($binname) = @_;
13971397
return Build::Rpm::queryhdrmd5(@_) if $do_rpm && $binname =~ /\.d?rpm$/;
1398-
return Build::Deb::queryhdrmd5(@_) if $do_deb && $binname =~ /\.deb$/;
1398+
return Build::Deb::queryhdrmd5(@_) if $do_deb && $binname =~ /\.d?deb$/;
13991399
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.iso$/;
14001400
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw$/;
14011401
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw.install$/;

0 commit comments

Comments
 (0)