[PATCH] add support for ipkg to the debuginfod.cxx

dorinda bassey dorindabassey@gmail.com
Mon Jan 25 20:21:08 GMT 2021


Hello, here are samples of .ipk files, although the method for unpacking
them is identical to .deb format.

best regards
Dorinda

On Mon, Dec 21, 2020 at 11:07 AM dorindabassey <dorindabassey@gmail.com>
wrote:

> added support for ipkg to the debuginfod scanner. 0.182 only supports RPM
> and scan .debs, this patch enables debuginfod scanner to scan .ipk
>
> Signed-off-by: dorindabassey <dorindabassey@gmail.com>
> ---
>  debuginfod/debuginfod.cxx | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
> index 9a697186..8138967f 100644
> --- a/debuginfod/debuginfod.cxx
> +++ b/debuginfod/debuginfod.cxx
> @@ -480,11 +480,13 @@ parse_opt (int key, char *arg,
>          {
>            scan_archives[".deb"]="dpkg-deb --fsys-tarfile";
>            scan_archives[".ddeb"]="dpkg-deb --fsys-tarfile";
> +          scan_archives[".ipk"]="dpkg-deb --fsys-tarfile";
>          }
>        else
>          {
>            scan_archives[".deb"]="(bsdtar -O -x -f - data.tar.xz)<";
>            scan_archives[".ddeb"]="(bsdtar -O -x -f - data.tar.xz)<";
> +          scan_archives[".ipk"]="(bsdtar -O -x -f - data.tar.xz)<";
>          }
>        // .udeb too?
>        break;
> --
> 2.17.1
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bc_1.07.1-r0_core2-64.ipk
Type: application/octet-stream
Size: 48852 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20210125/8fc1f7cb/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmicrohttpd12_0.9.71-r0_core2-64.ipk
Type: application/octet-stream
Size: 59402 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20210125/8fc1f7cb/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libarchive_3.5.1-r0_core2-64.ipk
Type: application/octet-stream
Size: 295224 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20210125/8fc1f7cb/attachment-0005.obj>


More information about the Elfutils-devel mailing list