public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] add support for ipkg to the debuginfod.cxx
@ 2020-12-21 10:07 dorindabassey
  2020-12-21 12:30 ` Frank Ch. Eigler
  2021-01-25 20:21 ` dorinda bassey
  0 siblings, 2 replies; 3+ messages in thread
From: dorindabassey @ 2020-12-21 10:07 UTC (permalink / raw)
  To: elfutils-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] add support for ipkg to the debuginfod.cxx
  2020-12-21 10:07 [PATCH] add support for ipkg to the debuginfod.cxx dorindabassey
@ 2020-12-21 12:30 ` Frank Ch. Eigler
  2021-01-25 20:21 ` dorinda bassey
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2020-12-21 12:30 UTC (permalink / raw)
  To: dorindabassey; +Cc: elfutils-devel

Hi -

> added support for ipkg to the debuginfod scanner. 0.182 only
> supports RPM and scan .debs, this patch enables debuginfod scanner
> to scan .ipk

It would be really helpful to have a small .ipk sample file we could
put into the elfutils testsuite, unless they are identical to .deb
format.

- FChE


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] add support for ipkg to the debuginfod.cxx
  2020-12-21 10:07 [PATCH] add support for ipkg to the debuginfod.cxx dorindabassey
  2020-12-21 12:30 ` Frank Ch. Eigler
@ 2021-01-25 20:21 ` dorinda bassey
  1 sibling, 0 replies; 3+ messages in thread
From: dorinda bassey @ 2021-01-25 20:21 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

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
>
>

[-- Attachment #2: bc_1.07.1-r0_core2-64.ipk --]
[-- Type: application/octet-stream, Size: 48852 bytes --]

[-- Attachment #3: libmicrohttpd12_0.9.71-r0_core2-64.ipk --]
[-- Type: application/octet-stream, Size: 59402 bytes --]

[-- Attachment #4: libarchive_3.5.1-r0_core2-64.ipk --]
[-- Type: application/octet-stream, Size: 295224 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-25 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 10:07 [PATCH] add support for ipkg to the debuginfod.cxx dorindabassey
2020-12-21 12:30 ` Frank Ch. Eigler
2021-01-25 20:21 ` dorinda bassey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).