public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: dorindabassey <dorindabassey@gmail.com>
To: elfutils-devel@sourceware.org
Subject: [PATCH] add support for ipkg to the debuginfod.cxx
Date: Mon, 21 Dec 2020 11:07:13 +0100	[thread overview]
Message-ID: <20201221100713.16823-1-dorindabassey@gmail.com> (raw)

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


             reply	other threads:[~2020-12-21 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21 10:07 dorindabassey [this message]
2020-12-21 12:30 ` Frank Ch. Eigler
2021-01-25 20:21 ` dorinda bassey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201221100713.16823-1-dorindabassey@gmail.com \
    --to=dorindabassey@gmail.com \
    --cc=elfutils-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).