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

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