[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v2 1/2] BootLinuxConsoleTest: Let extract_from_deb

From: Cleber Rosa
Subject: Re: [Qemu-arm] [PATCH v2 1/2] BootLinuxConsoleTest: Let extract_from_deb handle various compressions
Date: Tue, 12 Mar 2019 20:05:36 -0400
User-agent: NeoMutt/20180716

On Wed, Mar 13, 2019 at 12:45:40AM +0100, Philippe Mathieu-Daudé wrote:
> Debian binary package format supports various compressions.
> Per man deb(5):
>   NAME
>     deb - Debian binary package format
>     ...
>     The third, last required member is named data.tar.  It contains the
>     filesystem as a tar archive, either not compressed (supported since
>     dpkg 1.10.24), or compressed with gzip (with .gz extension),
>     xz (with .xz extension, supported since dpkg 1.15.6),
>     bzip2 (with .bz2 extension, supported since dpkg 1.10.24) or
>     lzma (with .lzma extension, supported since dpkg 1.13.25).
> List the archive files to have the 3rd name with the correct extension.
> The function avocado.utils.archive.extract() will handle the different
> compression format for us.
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>

Reviewed-by: Cleber Rosa <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]