[PATCH] add support for ipkg to the debuginfod.cxx
dorindabassey
dorindabassey@gmail.com
Mon Dec 21 10:07:13 GMT 2020
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
More information about the Elfutils-devel
mailing list