Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .deb files which have control.tar.xz #397

Merged
merged 2 commits into from
Oct 20, 2017

Conversation

suihkulokki
Copy link
Contributor

Fixes issue #395. Testcase .deb:s at: http://people.linaro.org/~riku.voipio/fix-obsbuild/

Before my patches:

528a3601f6d4707259c046c64ec637eb
$VAR1 = {
          'provides' => [],
          'source' => 'hello',
          'hdrmd5' => '528a3601f6d4707259c046c64ec637eb',
          'name' => 'hello',
          'requires' => [
                          'libc6 (>= 2.14)'
                        ]
        };

hxz.deb: control.tar.gz is not second ar entry

hxz.deb: control.tar.gz is not second ar entry
$VAR1 = undef;

And with patches:

528a3601f6d4707259c046c64ec637eb
$VAR1 = {
          'source' => 'hello',
          'requires' => [
                          'libc6 (>= 2.14)'
                        ],
          'provides' => [],
          'name' => 'hello',
          'hdrmd5' => '528a3601f6d4707259c046c64ec637eb'
        };

56be34240ac273298ec9e37bd61b26f2
$VAR1 = {
          'source' => 'hello',
          'hdrmd5' => '56be34240ac273298ec9e37bd61b26f2',
          'name' => 'hello',
          'requires' => [
                          'libc6 (>= 2.14)'
                        ],
          'provides' => []
        };

Unfortunately I have no knowledge how perl testsuite works, so I don't know howto integrate the above under tests.

Riku Voipio added 2 commits October 19, 2017 12:13
In preparation fot xz support
Add support for uncompressing and hdrmd5 for XZ compressed
control.tar - default on dpkg >= 1.19. Fixes issue openSUSE#395
@mlschroe mlschroe merged commit 5e6c4a0 into openSUSE:master Oct 20, 2017
@mlschroe
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants